1
0
mirror of https://github.com/mpv-player/mpv synced 2025-04-01 14:50:07 +00:00

vf:format: don't error when using convert=yes and not specifying fmt

This commit is contained in:
wm4 2020-05-06 15:24:47 +02:00
parent e567d06377
commit 12451ac7eb

View File

@ -127,7 +127,7 @@ static void vf_format_process(struct mp_filter *f)
set_params(priv->opts, &par, true);
if (par.imgfmt != outfmt) {
if (outfmt && par.imgfmt != outfmt) {
par.imgfmt = outfmt;
par.hw_subfmt = 0;
}