diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-08-09 18:34:10 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-08-11 11:34:09 +0200 |
commit | 51efed152d97515476e4b83f8ee34e58d6dd7519 (patch) | |
tree | 1d407d7eef2e9acde88156288f202d655883f6e0 /libavcodec/avcodec.h | |
parent | c223d79945b1fafad44c6dfab9f76a1fec96f810 (diff) | |
download | ffmpeg-51efed152d97515476e4b83f8ee34e58d6dd7519.tar.gz |
lavc: add an intra-only codec property.
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 8753a2f072..2747c7a94b 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -453,8 +453,18 @@ typedef struct AVCodecDescriptor { * A more descriptive name for this codec. May be NULL. */ const char *long_name; + /** + * Codec properties, a combination of AV_CODEC_PROP_* flags. + */ + int props; } AVCodecDescriptor; +/** + * Codec uses only intra compression. + * Video codecs only. + */ +#define AV_CODEC_PROP_INTRA_ONLY (1 << 0) + #if FF_API_OLD_DECODE_AUDIO /* in bytes */ #define AVCODEC_MAX_AUDIO_FRAME_SIZE 192000 // 1 second of 48khz 32bit audio |