[MPlayer-cvslog] r35230 - trunk/libmpcodecs/vf_pullup.c

cehoyos subversion at mplayerhq.hu
Fri Oct 5 10:24:13 CEST 2012


Author: cehoyos
Date: Fri Oct  5 10:24:13 2012
New Revision: 35230

Log:
Be more verbose if the pullup filter fails on initialisation.

Modified:
   trunk/libmpcodecs/vf_pullup.c

Modified: trunk/libmpcodecs/vf_pullup.c
==============================================================================
--- trunk/libmpcodecs/vf_pullup.c	Thu Oct  4 20:04:44 2012	(r35229)
+++ trunk/libmpcodecs/vf_pullup.c	Fri Oct  5 10:24:13 2012	(r35230)
@@ -270,7 +270,10 @@ static int config(struct vf_instance *vf
     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);
 }
 


More information about the MPlayer-cvslog mailing list