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:
parent
e567d06377
commit
12451ac7eb
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user