summaryrefslogtreecommitdiff
path: root/legacy/emotion/src
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2007-10-28 10:19:09 +0000
committerCarsten Haitzler <raster@rasterman.com>2007-10-28 10:19:09 +0000
commit8bf6f2f34411e7dd83efbd74f9888d7ff6cadc40 (patch)
treec2c9a8bc1608f365658575d093288f4e2d6f873f /legacy/emotion/src
parent90b9f41ec50834a75b3c2fc83ff90b3724718ee6 (diff)
fix odd sized videos
SVN revision: 32186
Diffstat (limited to '')
-rw-r--r--legacy/emotion/src/lib/emotion_smart.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/legacy/emotion/src/lib/emotion_smart.c b/legacy/emotion/src/lib/emotion_smart.c
index b874ff7416..c80e0d043e 100644
--- a/legacy/emotion/src/lib/emotion_smart.c
+++ b/legacy/emotion/src/lib/emotion_smart.c
@@ -1027,6 +1027,8 @@ _pixels_get(void *data, Evas_Object *obj)
1027 sd = data; 1027 sd = data;
1028 evas_object_image_size_get(obj, &iw, &ih); 1028 evas_object_image_size_get(obj, &iw, &ih);
1029 sd->module->video_data_size_get(sd->video, &w, &h); 1029 sd->module->video_data_size_get(sd->video, &w, &h);
1030 w = (w >> 1) << 1;
1031 h = (h >> 1) << 1;
1030 if ((w != iw) || (h != ih)) 1032 if ((w != iw) || (h != ih))
1031 { 1033 {
1032 evas_object_image_colorspace_set(obj, EVAS_COLORSPACE_YCBCR422P601_PL); 1034 evas_object_image_colorspace_set(obj, EVAS_COLORSPACE_YCBCR422P601_PL);