Fix crash when player_focus_state_cb is called 34/142034/1
authorWonnam Jang <wn.jang@samsung.com>
Wed, 2 Aug 2017 08:50:23 +0000 (17:50 +0900)
committerWonnam Jang <wn.jang@samsung.com>
Wed, 2 Aug 2017 08:50:23 +0000 (17:50 +0900)
Change-Id: Ia656e1da4fe9e61b9705b23abfc7993da9c6701d
Signed-off-by: Wonnam Jang <wn.jang@samsung.com>
server/ttsd_player.c

index 9c6760a..57fb16f 100644 (file)
@@ -123,7 +123,6 @@ void __player_focus_state_cb(sound_stream_info_h stream_info, sound_stream_focus
                                        return;
                                }
 
-                               g_playing_info->state = APP_STATE_PAUSED;
                                ttsd_data_set_client_state(uid, APP_STATE_PAUSED);
                                int pid = ttsd_data_get_pid(uid);
                                /* send message to client about changing state */