We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e503ac5 commit f7e524cCopy full SHA for f7e524c
modules/videoio/src/cap_ffmpeg_impl.hpp
@@ -993,7 +993,10 @@ bool CvCapture_FFMPEG::open( const char* _filename )
993
enc->skip_frame = AVDISCARD_DEFAULT;
994
else if (strcmp(avdiscard_entry->value, "none") == 0)
995
enc->skip_frame = AVDISCARD_NONE;
996
-#if LIBAVCODEC_BUILD >= CALC_FFMPEG_VERSION(54, 59, 100)
+ // NONINTRA flag was introduced with version bump at revision:
997
+ // https://github.com/FFmpeg/FFmpeg/commit/b152152df3b778d0a86dcda5d4f5d065b4175a7b
998
+ // This key is supported only for FFMPEG version
999
+#if LIBAVCODEC_VERSION_MICRO >= 100 && LIBAVCODEC_BUILD >= CALC_FFMPEG_VERSION(55, 67, 100)
1000
else if (strcmp(avdiscard_entry->value, "nonintra") == 0)
1001
enc->skip_frame = AVDISCARD_NONINTRA;
1002
#endif
0 commit comments