Mercurial > libavcodec.hg
diff avcodec.h @ 5576:1a92e129a679 libavcodec
Add request_channels member to AVCodecContext so we now have a proper
way to tell the decoder how many output channels we would like.
author | reimar |
---|---|
date | Thu, 23 Aug 2007 20:28:28 +0000 |
parents | bee74f94dafe |
children | 027c48595fa1 |
line wrap: on
line diff
--- a/avcodec.h Thu Aug 23 10:49:14 2007 +0000 +++ b/avcodec.h Thu Aug 23 20:28:28 2007 +0000 @@ -33,8 +33,8 @@ #define AV_STRINGIFY(s) AV_TOSTRING(s) #define AV_TOSTRING(s) #s -#define LIBAVCODEC_VERSION_INT ((51<<16)+(41<<8)+0) -#define LIBAVCODEC_VERSION 51.41.0 +#define LIBAVCODEC_VERSION_INT ((51<<16)+(42<<8)+0) +#define LIBAVCODEC_VERSION 51.42.0 #define LIBAVCODEC_BUILD LIBAVCODEC_VERSION_INT #define LIBAVCODEC_IDENT "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION) @@ -2123,6 +2123,13 @@ * - decoding: unused */ int64_t timecode_frame_start; + + /** + * Decoder should decode to this many channels if it can (0 for default) + * - encoding: unused + * - decoding: Set by user. + */ + int request_channels; } AVCodecContext; /**