Repository navigation
Remove AV_CODEC_{CAP,FLAG}_TRUNCATED for FFmpeg 6 compatibility - #1254
Conversation
|
Or use For compatibility with older than 6 and 6+. |
|
Please correct me if you know more but I'd guess older versions are also fine with the flag not set. It's not clear why we were setting it or what it was supposed to do. It's not even clear if the flag was still relevant for the send_packet api. Of course it's not really explained anywhere so I don't know for sure. |
|
Looks like it might not have had any purpose with cmus being that it's an audio player and the flag only appears to have influenced (some) video codecs. So this looks Ok as is after coming across that commit. |
https://build.opensuse.org/request/show/1088919 by user mia + dimstar_suse - Add ffmpeg-6-compat.patch See cmus/cmus#1254
pgaskin
left a comment
There was a problem hiding this comment.
Tested. Works as expected, and fixes build on newer FFmpeg versions. AV_CODEC_FLAG_TRUNCATED does appear to only be used for videos.
https://copr.fedorainfracloud.org/coprs/pgaskin/cmus-testing/build/6153648/
https://github.com/pgaskin/cmus/commits/83309568a563a3e8f789c9bc3cef2b43b3a80101
https://nightly.link/pgaskin/rpms/actions/runs/5495006170
565b772 to
635c211
Compare
635c211 to
07b368f
Compare
Closes #1251