diff utils.c @ 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 b763947a7676
children 3e8764a25c53
line wrap: on
line diff
--- a/utils.c	Thu Aug 23 10:49:14 2007 +0000
+++ b/utils.c	Thu Aug 23 20:28:28 2007 +0000
@@ -753,6 +753,7 @@
 {"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},
 };