From 08c35a793411e751ac29a2d3c8c1ff311b295d9d Mon Sep 17 00:00:00 2001 From: Wonguk Jeong Date: Thu, 21 Aug 2014 18:51:32 +0200 Subject: [PATCH] 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 1a9e59d5f..dfb14fb27 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);