[FFmpeg-devel] [PATCH 1/5] lavc: add intra only codec flag

Michael Niedermayer michaelni at gmx.at
Thu Jun 14 23:09:05 CEST 2012


Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
 libavcodec/avcodec.h |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index e2b754f..cb7f851 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -722,6 +722,10 @@ typedef struct RcOverride{
  */
 #define CODEC_CAP_VARIABLE_FRAME_SIZE 0x10000
 /**
+ * Codec is intra only.
+ */
+#define CODEC_CAP_INTRA_ONLY       0x40000000
+/**
  * Codec is lossless.
  */
 #define CODEC_CAP_LOSSLESS         0x80000000
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list