efl/evas: reduce commit to evas_object_image.
authorCedric BAIL <cedric.bail@free.fr>
Sun, 27 Jan 2013 06:31:11 +0000 (06:31 +0000)
committerCedric BAIL <cedric.bail@free.fr>
Sun, 27 Jan 2013 06:31:11 +0000 (06:31 +0000)
SVN revision: 83365

src/lib/evas/canvas/evas_object_image.c

index 5cecaa5..3254303 100644 (file)
@@ -2279,6 +2279,15 @@ _image_video_surface_set(Eo *eo_obj, void *_pd, va_list *list)
      }
    else
      {
+        if (!o->video_surface &&
+            !o->pixels->video.update_pixels &&
+            !o->pixels->video.move &&
+            !o->pixels->video.resize &&
+            !o->pixels->video.hide &&
+            !o->pixels->video.show &&
+            !o->pixels->video.data)
+          return ;
+
         o->video_surface = EINA_FALSE;
         EINA_COW_PIXEL_WRITE_BEGIN(o, pixi_write)
           {