From b7afdc80ecaebc93822a551c633ad97a6277a60b Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Mon, 1 Sep 2014 12:45:41 +0900 Subject: [PATCH] emotion - fix calling pos update cb for gst1 module in frame new @fix --- src/lib/emotion/emotion_smart.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/lib/emotion/emotion_smart.c b/src/lib/emotion/emotion_smart.c index 0c421354b1..b1ea284d1b 100644 --- a/src/lib/emotion/emotion_smart.c +++ b/src/lib/emotion/emotion_smart.c @@ -1490,9 +1490,12 @@ _emotion_frame_anim(void *data) E_SMART_OBJ_GET_RETURN(sd, obj, E_OBJ_NAME, EINA_FALSE); - evas_object_image_pixels_dirty_set(sd->obj, 1); - evas_object_smart_callback_call(obj, SIG_FRAME_DECODE, NULL); sd->anim = NULL; + evas_object_image_pixels_dirty_set(sd->obj, 1); + _emotion_video_pos_update(obj, + emotion_engine_instance_pos_get(sd->engine_instance), + emotion_engine_instance_len_get(sd->engine_instance)); + evas_object_smart_callback_call(obj, SIG_FRAME_DECODE, NULL); return EINA_FALSE; }