summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Blechmann <[email protected]>2025-06-02 09:56:57 +0800
committerTim Blechmann <[email protected]>2025-06-02 11:42:40 +0000
commit65b11b9f97632101041134e04713697b17819884 (patch)
treebc15f88425e2465bccb00bb90484ed2ebe1fcd78
parent3188a4f4c7b6f617bd047b666d262cbd4bd3e6ac (diff)
FFmpeg: 7.2 compile fixHEADdev
AV_CODEC_CAP_SUBFRAMES was deprecated without replacement and removed. Pick-to: 6.5 6.8 6.9 6.10 Change-Id: I45ac1d0d603f88701bdb727a7a472cfea8f32d5d Reviewed-by: Pavel Dubsky <[email protected]> Reviewed-by: Tim Blechmann <[email protected]>
-rw-r--r--src/plugins/multimedia/ffmpeg/qffmpegcodecstorage.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/multimedia/ffmpeg/qffmpegcodecstorage.cpp b/src/plugins/multimedia/ffmpeg/qffmpegcodecstorage.cpp
index c154fd835..360a33909 100644
--- a/src/plugins/multimedia/ffmpeg/qffmpegcodecstorage.cpp
+++ b/src/plugins/multimedia/ffmpeg/qffmpegcodecstorage.cpp
@@ -99,7 +99,9 @@ void dumpCodecInfo(const Codec &codec)
{ AV_CODEC_CAP_DR1, "DRAW_HORIZ_DR1" },
{ AV_CODEC_CAP_DELAY, "DELAY" },
{ AV_CODEC_CAP_SMALL_LAST_FRAME, "SMALL_LAST_FRAME" },
+#ifdef AV_CODEC_CAP_SUBFRAMES
{ AV_CODEC_CAP_SUBFRAMES, "SUBFRAMES" },
+#endif
{ AV_CODEC_CAP_EXPERIMENTAL, "EXPERIMENTAL" },
{ AV_CODEC_CAP_CHANNEL_CONF, "CHANNEL_CONF" },
{ AV_CODEC_CAP_FRAME_THREADS, "FRAME_THREADS" },