projects
/
profile
/
ivi
/
emotion.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80973c8
)
fix odd sized videos
author
raster
<raster>
Sun, 28 Oct 2007 10:19:09 +0000
(10:19 +0000)
committer
raster
<raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 28 Oct 2007 10:19:09 +0000
(10:19 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/emotion@32186
7cbeb6ba
-43b4-40fd-8cce-
4c39aea84d33
src/lib/emotion_smart.c
patch
|
blob
|
history
diff --git
a/src/lib/emotion_smart.c
b/src/lib/emotion_smart.c
index
b874ff7
..
c80e0d0
100644
(file)
--- a/
src/lib/emotion_smart.c
+++ b/
src/lib/emotion_smart.c
@@
-1027,6
+1027,8
@@
_pixels_get(void *data, Evas_Object *obj)
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);