summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-07 19:31:33 +0100
committerwm4 <wm4@nowhere>2013-12-07 19:31:33 +0100
commita54b775f80beb960889ce68122fb8416ebb0695f (patch)
tree325ecf4849e1c59fc21b39f51347fdaeb225c5c7 /video
parent745b9d542bf53e3f3589cccc352c69ba653d0a15 (diff)
downloadmpv-a54b775f80beb960889ce68122fb8416ebb0695f.tar.bz2
mpv-a54b775f80beb960889ce68122fb8416ebb0695f.tar.xz
vf: print error when creating filter fails
Before that we relied on the filters printing their own error messages.
Diffstat (limited to 'video')
-rw-r--r--video/filter/vf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/filter/vf.c b/video/filter/vf.c
index 562f6e8971..31ad340bae 100644
--- a/video/filter/vf.c
+++ b/video/filter/vf.c
@@ -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;
}