jackdanielz pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=ae739184e10d1ba0f9ffb534cf54cdc7b0a7e061
commit ae739184e10d1ba0f9ffb534cf54cdc7b0a7e061 Author: Daniel Zaoui <[email protected]> Date: Sun Sep 25 13:11:32 2016 +0300 Emotion: modify the playback finish behavior as before The callbacks are never invoked due to sd->play equal to 0. The function _emotion_decode_stop is called before and resets this field. Before the change to Efl.Canvas.Video, sd->play was not checked. --- src/lib/emotion/emotion_smart.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/lib/emotion/emotion_smart.c b/src/lib/emotion/emotion_smart.c index e4ce471..3ec92c5 100644 --- a/src/lib/emotion/emotion_smart.c +++ b/src/lib/emotion/emotion_smart.c @@ -1617,12 +1617,8 @@ _emotion_playback_finished(Evas_Object *obj) Efl_Canvas_Video_Data *sd; E_SMART_OBJ_GET(sd, obj, E_OBJ_NAME); - if (sd->play) - { - sd->play = 0; - efl_event_callback_call(obj, EFL_CANVAS_VIDEO_EVENT_PLAYBACK_STOP, NULL); - evas_object_smart_callback_call(obj, "playback_finished", NULL); - } + efl_event_callback_call(obj, EFL_CANVAS_VIDEO_EVENT_PLAYBACK_STOP, NULL); + evas_object_smart_callback_call(obj, "playback_finished", NULL); } EAPI void --
