vf: print error when creating filter fails

Before that we relied on the filters printing their own error messages.
This commit is contained in:
wm4 2013-12-07 19:31:33 +01:00
parent 745b9d542b
commit a54b775f80
1 changed files with 1 additions and 0 deletions

View File

@ -258,6 +258,7 @@ static struct vf_instance *vf_open(struct MPOpts *opts, vf_instance_t *next,
return vf;
error:
mp_msg(MSGT_VFILTER, MSGL_ERR, "Creating filter '%s' failed.\n", name);
talloc_free(vf);
return NULL;
}