Skip to content
Snippets Groups Projects
Commit 92dac3a9 authored by Michael Niedermayer's avatar Michael Niedermayer Committed by Marton Balint
Browse files

ffplay: set request_channels to 2

parent c2b7f774
Branches
Tags
No related merge requests found
...@@ -2379,6 +2379,8 @@ static int read_thread(void *arg) ...@@ -2379,6 +2379,8 @@ static int read_thread(void *arg)
if(genpts) if(genpts)
ic->flags |= AVFMT_FLAG_GENPTS; ic->flags |= AVFMT_FLAG_GENPTS;
av_dict_set(&codec_opts, "request_channels", "2", 0);
opts = setup_find_stream_info_opts(ic, codec_opts); opts = setup_find_stream_info_opts(ic, codec_opts);
orig_nb_streams = ic->nb_streams; orig_nb_streams = ic->nb_streams;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment