diff options
author | Benjamin Larsson <banan@ludd.ltu.se> | 2010-10-03 02:18:02 +0400 |
---|---|---|
committer | Benjamin Larsson <banan@ludd.ltu.se> | 2010-10-03 02:18:02 +0400 |
commit | 62784e3733ceb0f58007db8bb2e41e1abf62b85e (patch) | |
tree | 6bdcb530369c326b004fc78c8bcce3c8bfb9e5e9 /libavcodec/avcodec.h | |
parent | ae8c28db87c5bfb5721a91014a657e56983c6c57 (diff) |
Add the CODEC_CAP_CHANNEL_CONF capability code and add
that flag to the dca codec. This capability when set
will make sure the codec will initialize the channel
configuration instead of trusting the container. This
fixes issue 2137 and issue 850.
Originally committed as revision 25320 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index eee56351f5..4bddbaa4aa 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -703,6 +703,11 @@ typedef struct RcOverride{ * encoders */ #define CODEC_CAP_EXPERIMENTAL 0x0200 +/** + * Codec should fill in channel configuration and samplerate instead of container + */ +#define CODEC_CAP_CHANNEL_CONF 0x0400 + //The following defines may change, don't expect compatibility if you use them. #define MB_TYPE_INTRA4x4 0x0001 |