huchi pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=08c35a793411e751ac29a2d3c8c1ff311b295d9d

commit 08c35a793411e751ac29a2d3c8c1ff311b295d9d
Author: Wonguk Jeong <wonguk.je...@samsung.com>
Date:   Thu Aug 21 18:51:32 2014 +0200

    teamwork: pause media on closing
    
    Due to stupid_obj_del_workaround_hack, sound comes out during 3sec
    even if media has been disappeared. Although the 3sec workaround should be 
gone,
    pause media on close to fix the side effect.
---
 src/modules/teamwork/e_mod_tw.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/modules/teamwork/e_mod_tw.c b/src/modules/teamwork/e_mod_tw.c
index 1a9e59d..dfb14fb 100644
--- a/src/modules/teamwork/e_mod_tw.c
+++ b/src/modules/teamwork/e_mod_tw.c
@@ -857,6 +857,7 @@ tw_video_closed_cb(void *data, Evas_Object *obj, void 
*event_info EINA_UNUSED)
 {
    evas_object_hide(obj);
    evas_object_hide(data);
+   emotion_object_play_set(obj, EINA_FALSE);
    ecore_timer_add(3.0, stupid_obj_del_workaround_hack, data);
    if (!tw_tmpfile) return;
    eina_stringshare_replace(&tw_tmpfile, NULL);

-- 


Reply via email to