]> git.sesse.net Git - ffmpeg/commitdiff
ffplay: set request_channels to 2
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 1 Oct 2011 23:25:14 +0000 (01:25 +0200)
committerMarton Balint <cus@passwd.hu>
Sun, 2 Oct 2011 19:21:46 +0000 (21:21 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffplay.c

index 46eff5c9b68bcc87760082c694db020791aa77df..e04b69a9fd5358cbe599928e587360ba1394fcdc 100644 (file)
--- 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;