diff options
author | Marton Balint <cus@passwd.hu> | 2024-05-18 16:05:02 +0200 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2024-05-27 21:46:47 +0200 |
commit | ed927f2f0c3e9c87d90af4e87eeb06413f13fa14 (patch) | |
tree | 4896dc59991d8b167bbb2866745184923623c346 /fftools | |
parent | 4d975571372d64f5feaa7737604190d34b37457f (diff) | |
download | ffmpeg-ed927f2f0c3e9c87d90af4e87eeb06413f13fa14.tar.gz |
fftools/ffplay: allow unused format options which are also codec options
Same as it is handled in ffmpeg, allows using -ch_layout codec option.
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'fftools')
-rw-r--r-- | fftools/ffplay.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) |