Mercurial > mplayer.hg
changeset 35136:9d2c691272aa
Be more verbose if the pullup filter fails on initialisation.
author | cehoyos |
---|---|
date | Fri, 05 Oct 2012 08:24:13 +0000 |
parents | 6f635f9d2404 |
children | 21162d7c4140 |
files | libmpcodecs/vf_pullup.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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); }