mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-20 12:02:23 +02:00
vf: don't clobber input params on reconfigure failure
I think this is more robust, and future commits will rely on it.
This commit is contained in:
parent
0fe62bc1d2
commit
fc76966d9e
@ -652,7 +652,7 @@ int vf_reconfig(struct vf_chain *c, const struct mp_image_params *params)
|
||||
mp_msg(c->log, loglevel, "Video filter chain:\n");
|
||||
vf_print_filter_chain(c, loglevel, failing);
|
||||
if (r < 0)
|
||||
c->input_params = c->output_params = (struct mp_image_params){0};
|
||||
c->output_params = (struct mp_image_params){0};
|
||||
return r;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user