[v0.6.12] do not ignore buffering msg (murphy does not use mainloop anymore) 28/96828/1
authorEunhae Choi <eunhae1.choi@samsung.com>
Thu, 10 Nov 2016 09:45:59 +0000 (18:45 +0900)
committerEunhae Choi <eunhae1.choi@samsung.com>
Thu, 10 Nov 2016 09:46:46 +0000 (18:46 +0900)
Change-Id: I0a19e4f86fdeaea6346ffe48147466392eb1ad79

src/mm_player_priv.c

index 3621d34..19de3da 100644 (file)
@@ -1282,13 +1282,6 @@ __mmplayer_gst_callback(GstBus *bus, GstMessage *msg, gpointer data) // @
                        if (!MMPLAYER_IS_STREAMING(player))
                                break;
 
-                       /* ignore the buffering messages during building pipeline, *
-                        * not to block the main loop                              */
-                       if (MMPLAYER_CURRENT_STATE(player) <= MM_PLAYER_STATE_READY) {
-                               LOGW("ignore the buffering msg(state:%d)", MMPLAYER_CURRENT_STATE(player));
-                               break;
-                       }
-
                        /* ignore the prev buffering message */
                        if ((player->streamer) && (player->streamer->is_buffering == FALSE) && (player->streamer->is_buffering_done == TRUE)) {
                                gint buffer_percent = 0;