mirror of https://git.ffmpeg.org/ffmpeg.git
ffplay: set request_channels to 2
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
c2b7f7748b
commit
92dac3a9dd
2
ffplay.c
2
ffplay.c
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue