Message ID | 20240518161116.8661-5-cus@passwd.hu |
---|---|
State | Accepted |
Commit | ed927f2f0c3e9c87d90af4e87eeb06413f13fa14 |
Headers | show |
Series | [FFmpeg-devel,1/5] fftools/ffmpeg_demux: also set -ch_layout avcodec option for -ch_layout CLI param | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
diff --git a/fftools/ffplay.c b/fftools/ffplay.c index ff48fa5f8c..1d0511b254 100644 --- a/fftools/ffplay.c +++ b/fftools/ffplay.c @@ -2858,6 +2858,7 @@ static int read_thread(void *arg) } if (scan_all_pmts_set) av_dict_set(&format_opts, "scan_all_pmts", NULL, AV_DICT_MATCH_CASE); + remove_avoptions(&format_opts, codec_opts); ret = check_avoptions(format_opts); if (ret < 0)
Same as it is handled in ffmpeg, allows using -ch_layout codec option. Signed-off-by: Marton Balint <cus@passwd.hu> --- fftools/ffplay.c | 1 + 1 file changed, 1 insertion(+)