mirror of https://github.com/mpv-player/mpv
vf: print error when creating filter fails
Before that we relied on the filters printing their own error messages.
This commit is contained in:
parent
745b9d542b
commit
a54b775f80
|
@ -258,6 +258,7 @@ static struct vf_instance *vf_open(struct MPOpts *opts, vf_instance_t *next,
|
||||||
return vf;
|
return vf;
|
||||||
|
|
||||||
error:
|
error:
|
||||||
|
mp_msg(MSGT_VFILTER, MSGL_ERR, "Creating filter '%s' failed.\n", name);
|
||||||
talloc_free(vf);
|
talloc_free(vf);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue