diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2007-08-23 20:28:28 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2007-08-23 20:28:28 +0000 |
commit | b1ec601f7f4d7fd5ae4a17b6efb4471b67c7ee06 (patch) | |
tree | 6251796503a731bbdf7074e9b6a4edd05c4ffb5a /libavcodec/utils.c | |
parent | 0e6b14c2a79c193706a84624e83ba5fcc2308052 (diff) | |
download | ffmpeg-b1ec601f7f4d7fd5ae4a17b6efb4471b67c7ee06.tar.gz |
Add request_channels member to AVCodecContext so we now have a proper
way to tell the decoder how many output channels we would like.
Originally committed as revision 10199 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r-- | libavcodec/utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 3b194899b3..9ca8a2d38e 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -753,6 +753,7 @@ static const AVOption options[]={ {"timecode_frame_start", "GOP timecode frame start number, in non drop frame format", OFFSET(timecode_frame_start), FF_OPT_TYPE_INT, 0, 0, INT_MAX, V|E}, {"drop_frame_timecode", NULL, 0, FF_OPT_TYPE_CONST, CODEC_FLAG2_DROP_FRAME_TIMECODE, INT_MIN, INT_MAX, V|E, "flags2"}, {"non_linear_q", "use non linear quantizer", 0, FF_OPT_TYPE_CONST, CODEC_FLAG2_NON_LINEAR_QUANT, INT_MIN, INT_MAX, V|E, "flags2"}, +{"request_channels", "set desired number of audio channels", OFFSET(request_channels), FF_OPT_TYPE_INT, DEFAULT, 0, INT_MAX, A|D}, {NULL}, }; |