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.
This commit is contained in:
Wonguk Jeong 2014-08-21 18:51:32 +02:00
parent 22c4f68d65
commit 08c35a7934
1 changed files with 1 additions and 0 deletions

View File

@ -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);