[FFmpeg-cvslog] ffplay: set request_channels to 2

Michael Niedermayer git at videolan.org
Mon Oct 3 00:38:42 CEST 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Oct  2 01:25:14 2011 +0200| [92dac3a9dd4544f1a15d52f363db08109d48be55] | committer: Marton Balint

ffplay: set request_channels to 2

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=92dac3a9dd4544f1a15d52f363db08109d48be55
---

 ffplay.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/ffplay.c b/ffplay.c
index 46eff5c..e04b69a 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -2379,6 +2379,8 @@ static int read_thread(void *arg)
     if(genpts)
         ic->flags |= AVFMT_FLAG_GENPTS;
 
+    av_dict_set(&codec_opts, "request_channels", "2", 0);
+
     opts = setup_find_stream_info_opts(ic, codec_opts);
     orig_nb_streams = ic->nb_streams;
 



More information about the ffmpeg-cvslog mailing list