[FFmpeg-devel] [PATCH 1/4] lavc/internal: add FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM

Matthieu Bouron matthieu.bouron at gmail.com
Mon Nov 2 11:45:05 CET 2015


From: Matthieu Bouron <matthieu.bouron at stupeflix.com>

Codec supporting FF_CODEC_SKIP_FRAME_FILL must still extract and fill
their parameters into AVCodecContext while honoring the skip_frame
flag.
---
 libavcodec/internal.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/libavcodec/internal.h b/libavcodec/internal.h
index 0abe17f..a023d1a 100644
--- a/libavcodec/internal.h
+++ b/libavcodec/internal.h
@@ -53,6 +53,11 @@
  * from the input AVPacket.
  */
 #define FF_CODEC_CAP_SETS_PKT_DTS           (1 << 2)
+/**
+ * Codec still extract and fill its parameters even if the skip_frame
+ * parameter is honored.
+ */
+#define FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM  (1 << 3)
 
 #ifdef TRACE
 #   define ff_tlog(ctx, ...) av_log(ctx, AV_LOG_TRACE, __VA_ARGS__)
-- 
2.6.2



More information about the ffmpeg-devel mailing list