From 206cfd964c0e36c26a0fc532724752dbdafbaa71 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 13 Jan 2015 14:40:37 +0100 Subject: 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. --- video/filter/vf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3