Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated API calls for new FFmpeg 4.3.x #14176

Merged
merged 9 commits into from
Feb 20, 2021

Conversation

unknownbrackets
Copy link
Collaborator

This uses ifdefs to remove deprecated function / field usage, corrects SetupStreams() usage on FFmpeg 3.1+.

Should fix #11490 and probably #13849 (didn't try any unreleased versions.) May help #11278.

Note: at this point, no updates to any builds to use newer FFmpeg, so this would only affect those using system FFmpeg.

-[Unknown]

@hrydgard hrydgard added this to the v1.12.0 milestone Feb 18, 2021
@hrydgard hrydgard added the PSMF / MPEG Issue involves scePsmf or sceMpeg video playback. label Feb 18, 2021
@orbea
Copy link
Contributor

orbea commented Feb 20, 2021

Issue #13849 is fixed using this PR with ffmpeg git master as of today.

https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/980b5c3bb5ffc94644d4e82f5bf98e5b83f932d7

@unknownbrackets unknownbrackets linked an issue Feb 20, 2021 that may be closed by this pull request
@orbea
Copy link
Contributor

orbea commented Feb 20, 2021

Issue #11490 is still instantly reproducible with the FMV in Tales of Eternia

@hrydgard hrydgard merged commit 8a69c3d into hrydgard:master Feb 20, 2021
@unknownbrackets
Copy link
Collaborator Author

Strange, it's only for some videos now... but it looks like another way is working in newer FFmpeg, trying it on some videos.

-[Unknown]

@SeanMcG
Copy link
Contributor

SeanMcG commented Feb 20, 2021

I feel like these could enjoy a unit test or two.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PSMF / MPEG Issue involves scePsmf or sceMpeg video playback.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Video scenes are choppy in newer FFmpeg versions PPSSPP does not compile with ffmpeg-4.4
4 participants