summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRafael Antognolli <rafael.antognolli@intel.com>2013-09-23 17:44:08 -0300
committerRafael Antognolli <rafael.antognolli@intel.com>2013-10-04 18:23:58 -0300
commit22f9a6e8f004ab3e4aaf214229e4556482040f29 (patch)
tree4ffd922026dd5f7e01f91c71b572885460082ff7 /src
parent65b960f4a60442edcd66082ccc1828b80a49885c (diff)
evas/image: Take framespace into account when moving video surface.
Diffstat (limited to 'src')
-rw-r--r--src/lib/evas/canvas/evas_object_image.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_object_image.c b/src/lib/evas/canvas/evas_object_image.c
index 509b10966c..8020466a0c 100644
--- a/src/lib/evas/canvas/evas_object_image.c
+++ b/src/lib/evas/canvas/evas_object_image.c
@@ -5213,11 +5213,14 @@ _evas_object_image_video_overlay_show(Evas_Object *eo_obj)
5213{ 5213{
5214 Evas_Object_Protected_Data *obj = eo_data_scope_get(eo_obj, EVAS_OBJ_CLASS); 5214 Evas_Object_Protected_Data *obj = eo_data_scope_get(eo_obj, EVAS_OBJ_CLASS);
5215 Evas_Object_Image *o = eo_data_scope_get(eo_obj, MY_CLASS); 5215 Evas_Object_Image *o = eo_data_scope_get(eo_obj, MY_CLASS);
5216 Evas_Public_Data *e = obj->layer->evas;
5216 5217
5217 if (obj->cur->cache.clip.x != obj->prev->cache.clip.x || 5218 if (obj->cur->cache.clip.x != obj->prev->cache.clip.x ||
5218 obj->cur->cache.clip.y != obj->prev->cache.clip.y || 5219 obj->cur->cache.clip.y != obj->prev->cache.clip.y ||
5219 o->created || !o->video_visible) 5220 o->created || !o->video_visible)
5220 o->pixels->video.move(o->pixels->video.data, eo_obj, &o->pixels->video, obj->cur->cache.clip.x, obj->cur->cache.clip.y); 5221 o->pixels->video.move(o->pixels->video.data, eo_obj, &o->pixels->video,
5222 obj->cur->cache.clip.x + e->framespace.x,
5223 obj->cur->cache.clip.y + e->framespace.y);
5221 if (obj->cur->cache.clip.w != obj->prev->cache.clip.w || 5224 if (obj->cur->cache.clip.w != obj->prev->cache.clip.w ||
5222 obj->cur->cache.clip.h != obj->prev->cache.clip.h || 5225 obj->cur->cache.clip.h != obj->prev->cache.clip.h ||
5223 o->created || !o->video_visible) 5226 o->created || !o->video_visible)