Skip to content

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

Merged
hrydgard merged 9 commits into
hrydgard:masterfrom
unknownbrackets:ffmpeg-update
Feb 20, 2021
Merged

hrydgard merged 9 commits into
hrydgard:masterfrom
unknownbrackets:ffmpeg-update

Conversation

@unknownbrackets

Copy link
Copy Markdown
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

orbea commented Feb 20, 2021

Copy link
Copy Markdown
Contributor

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

orbea commented Feb 20, 2021

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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

SeanMcG commented Feb 20, 2021

Copy link
Copy Markdown
Contributor

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.

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

4 participants