1. fix sound-player bs
authorHyungmin Kim <hm2007.kim@samsung.com>
Thu, 6 Sep 2012 09:52:42 +0000 (18:52 +0900)
committerHyungmin Kim <hm2007.kim@samsung.com>
Thu, 6 Sep 2012 09:52:42 +0000 (18:52 +0900)
Change-Id: Ie9a647562a47946e79cd663473c678fd4c69ce0f

layout/mp-progressbar.edc
src/mp-main.c

index e2230cf..f0528b3 100755 (executable)
@@ -44,6 +44,7 @@ group { name: "elm/progressbar/horizontal/music/list_progress";
             }
          }
          part { name: "elm.background.progressbar";
+            type: RECT;
             mouse_events: 0;
             scale: 1;
             description {
@@ -286,6 +287,7 @@ group { name: "elm/progressbar/horizontal/music/list_progress";
            }
          }
          part { name: "progress-rect";
+            type: RECT;
             mouse_events: 0;
             scale: 1;
             description {
index e4e369e..7674336 100755 (executable)
@@ -683,6 +683,17 @@ mp_resume(void *data)
        return;
 }
 
+#ifdef MP_SOUND_PLAYER
+Ecore_Timer *g_play_timer;
+static Eina_Bool
+mp_play_timer_cb(void *data)
+{
+        mp_play_new_file(data, TRUE);
+        g_play_timer = NULL;
+        return EINA_FALSE;
+}
+#endif
+
 /**< Called at the first idler and relaunched by AUL*/
 static void
 mp_service(service_h service, void *data)
@@ -739,7 +750,8 @@ mp_service(service_h service, void *data)
        mp_play_destory(ad);
        mp_play_view_load(ad);
        ad->paused_by_user = FALSE;
-       mp_play_new_file(data, TRUE);
+        if(!g_play_timer)
+                g_play_timer = ecore_timer_add(0.01, mp_play_timer_cb, ad);
 #else
 
        if (path)