summaryrefslogtreecommitdiff
path: root/src/lib/emotion
diff options
context:
space:
mode:
authorWonguk Jeong <wonguk.jeong@samsung.com>2014-04-24 18:10:10 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-04-24 18:10:10 +0900
commitdd587ba43b8ac340d79f2a092bdfab76a7211198 (patch)
tree2ea68352ca12bc1bec51bfdccf21e9532b440a5e /src/lib/emotion
parentf36fac8ec66f160bce8eb87df5fd32cbd7ed093b (diff)
emotion: play set before file open callback bug fix
Summary: Before "open_done" callback, play unset is ineffective. is it intentional logic? if we set play and unset play again before "open_done" callback, the video will be played. @fix Reviewers: raster, cedric CC: seoz, cedric Differential Revision: https://phab.enlightenment.org/D786
Diffstat (limited to 'src/lib/emotion')
-rw-r--r--src/lib/emotion/emotion_smart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/emotion/emotion_smart.c b/src/lib/emotion/emotion_smart.c
index 182560eabf..7ec603b9c8 100644
--- a/src/lib/emotion/emotion_smart.c
+++ b/src/lib/emotion/emotion_smart.c
@@ -661,13 +661,13 @@ emotion_object_play_set(Evas_Object *obj, Eina_Bool play)
661 661
662 E_SMART_OBJ_GET(sd, obj, E_OBJ_NAME); 662 E_SMART_OBJ_GET(sd, obj, E_OBJ_NAME);
663 DBG("play=" FMT_UCHAR ", was=" FMT_UCHAR, play, sd->play); 663 DBG("play=" FMT_UCHAR ", was=" FMT_UCHAR, play, sd->play);
664 if (play == sd->play) return;
665 if (!sd->engine_instance) return; 664 if (!sd->engine_instance) return;
666 if (!sd->open) 665 if (!sd->open)
667 { 666 {
668 sd->remember_play = play; 667 sd->remember_play = play;
669 return; 668 return;
670 } 669 }
670 if (play == sd->play) return;
671 sd->play = play; 671 sd->play = play;
672 sd->remember_play = play; 672 sd->remember_play = play;
673 if (sd->state != EMOTION_WAKEUP) emotion_object_suspend_set(obj, EMOTION_WAKEUP); 673 if (sd->state != EMOTION_WAKEUP) emotion_object_suspend_set(obj, EMOTION_WAKEUP);