summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-13 14:40:37 +0100
committerwm4 <wm4@nowhere>2015-01-13 14:40:37 +0100
commit206cfd964c0e36c26a0fc532724752dbdafbaa71 (patch)
tree7adc447e096f24c08ade9a514dd20f5479e8002a
parent77b488b4a2f49408ecf872b2fd74ef0e23ec50a7 (diff)
downloadmpv-206cfd964c0e36c26a0fc532724752dbdafbaa71.tar.bz2
mpv-206cfd964c0e36c26a0fc532724752dbdafbaa71.tar.xz
vf: make message less confusing
Well, probably still not very good, but now at least accounts for the case the decoder or a filter outputs nonsense values.
-rw-r--r--video/filter/vf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/filter/vf.c b/video/filter/vf.c
index 7a55f72cc5..0dd9b1f0b1 100644
--- a/video/filter/vf.c
+++ b/video/filter/vf.c
@@ -655,7 +655,7 @@ int vf_reconfig(struct vf_chain *c, const struct mp_image_params *params,
c->initialized = r < 0 ? -1 : 1;
int loglevel = r < 0 ? MSGL_WARN : MSGL_V;
if (r == -2)
- MP_ERR(c, "Image formats incompatible.\n");
+ MP_ERR(c, "Image formats incompatible or invalid.\n");
mp_msg(c->log, loglevel, "Video filter chain:\n");
vf_print_filter_chain(c, loglevel, failing);
if (r < 0) {