# HG changeset patch # User cehoyos # Date 1349425453 0 # Node ID 9d2c691272aae8affab469e39d809c8d433ea439 # Parent 6f635f9d24040354fd9a46933ab5e1283c418a4d Be more verbose if the pullup filter fails on initialisation. diff -r 6f635f9d2404 -r 9d2c691272aa libmpcodecs/vf_pullup.c --- a/libmpcodecs/vf_pullup.c Thu Oct 04 18:04:44 2012 +0000 +++ b/libmpcodecs/vf_pullup.c Fri Oct 05 08:24:13 2012 +0000 @@ -270,7 +270,10 @@ int width, int height, int d_width, int d_height, unsigned int flags, unsigned int outfmt) { - if (height&3) return 0; + if (height&3) { + mp_msg(MSGT_VFILTER, MSGL_ERR, "height must be divisible by four\n"); + return 0; + } return vf_next_config(vf, width, height, d_width, d_height, flags, outfmt); }