don't post buffering msg before playing
authorYounghwan Ahn <younghwan_.an@samsung.com>
Tue, 18 Dec 2012 11:36:59 +0000 (20:36 +0900)
committerYounghwan Ahn <younghwan_.an@samsung.com>
Tue, 18 Dec 2012 11:36:59 +0000 (20:36 +0900)
Change-Id: If299508377887c11bd69d0db89529510d09317f6

src/mm_player_priv.c

index 0cb250b..f834bac 100755 (executable)
@@ -1524,6 +1524,9 @@ __mmplayer_gst_callback(GstBus *bus, GstMessage *msg, gpointer data) // @
                        if ( !MMPLAYER_IS_STREAMING(player) || (player->profile.uri_type == MM_PLAYER_URI_TYPE_HLS) ) // pure hlsdemux case, don't consider buffering of msl currently
                                break;
 
+                       if (MMPLAYER_IS_STREAMING(player) && player->cmd != MMPLAYER_COMMAND_START)
+                               break;
+
                        __mm_player_streaming_buffering (player->streamer, msg);
 
                        __mmplayer_handle_buffering_message ( player );