Enlightenment CVS committal Author : raster Project : e17 Module : libs/emotion
Dir : e17/libs/emotion/src/lib Modified Files: emotion_smart.c Log Message: fix odd sized videos =================================================================== RCS file: /cvs/e/e17/libs/emotion/src/lib/emotion_smart.c,v retrieving revision 1.33 retrieving revision 1.34 diff -u -3 -r1.33 -r1.34 --- emotion_smart.c 26 Oct 2007 10:49:16 -0000 1.33 +++ emotion_smart.c 28 Oct 2007 10:19:09 -0000 1.34 @@ -1027,6 +1027,8 @@ sd = data; evas_object_image_size_get(obj, &iw, &ih); sd->module->video_data_size_get(sd->video, &w, &h); + w = (w >> 1) << 1; + h = (h >> 1) << 1; if ((w != iw) || (h != ih)) { evas_object_image_colorspace_set(obj, EVAS_COLORSPACE_YCBCR422P601_PL); ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs