update duration when state is paused
authorYounghwan Ahn <younghwan_.an@samsung.com>
Mon, 24 Sep 2012 11:38:49 +0000 (20:38 +0900)
committerYounghwan Ahn <younghwan_.an@samsung.com>
Mon, 24 Sep 2012 11:43:32 +0000 (20:43 +0900)
Change-Id: I0b429bfc25d9a33606daa879767ffc385dca562e

src/mm_player_priv.c

index 421c9a1..b9f6b1a 100755 (executable)
@@ -878,6 +878,7 @@ __mmplayer_set_state(mm_player_t* player, int state) // @
                         * note that this is only happening pause command has come before the state of pipeline
                         * reach to the PLAYING.
                         */
+                       player->need_update_content_dur = TRUE;
                        _mmplayer_update_content_attrs( player );
 
                        /* add audio callback probe if condition is satisfied */