raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=faaaf55f7a332c3c14f8032d24622b146d12a8e9

commit faaaf55f7a332c3c14f8032d24622b146d12a8e9
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Mon Aug 18 18:01:51 2014 +0900

    evas images - animated gifs
    
    there are deep down bugs in evas with animated gifs. espeically if you
    have multiple instances of the same gif, but for now let's just
    address the problem where we have entire frames of animation
    vanishing. this is because the animation frame set failed and thus
    didnt notify the rest of evas. have it ignore this fail for now so
    things work out.
---
 src/lib/evas/canvas/evas_object_image.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/evas/canvas/evas_object_image.c 
b/src/lib/evas/canvas/evas_object_image.c
index fcd7610..864e78d 100644
--- a/src/lib/evas/canvas/evas_object_image.c
+++ b/src/lib/evas/canvas/evas_object_image.c
@@ -2151,8 +2151,8 @@ _evas_image_animated_frame_set(Eo *eo_obj, 
Evas_Image_Data *o, int frame_index)
      return;
 
    if (!obj->layer->evas->engine.func->image_animated_frame_set) return;
-   if 
(!obj->layer->evas->engine.func->image_animated_frame_set(obj->layer->evas->engine.data.output,
 o->engine_data, frame_index))
-     return;
+   
obj->layer->evas->engine.func->image_animated_frame_set(obj->layer->evas->engine.data.output,
 o->engine_data, frame_index);
+//   if 
(!obj->layer->evas->engine.func->image_animated_frame_set(obj->layer->evas->engine.data.output,
 o->engine_data, frame_index)) return;
 
    EINA_COW_WRITE_BEGIN(evas_object_image_state_cow, o->prev, 
Evas_Object_Image_State, prev_write)
      prev_write->frame = o->cur->frame;

-- 


Reply via email to