aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-10-02 01:25:14 +0200
committerMarton Balint <cus@passwd.hu>2011-10-02 21:21:46 +0200
commit92dac3a9dd4544f1a15d52f363db08109d48be55 (patch)
treee06ce7baa5bdf64cc96e191281ed9627b4a47d52
parentc2b7f7748be447e1446f63b13da472ba7e00f329 (diff)
downloadffmpeg-92dac3a9dd4544f1a15d52f363db08109d48be55.tar.gz
ffplay: set request_channels to 2
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--ffplay.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ffplay.c b/ffplay.c
index 46eff5c9b6..e04b69a9fd 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;