diff options
Diffstat (limited to 'src/PlayerThread.cxx')
-rw-r--r-- | src/PlayerThread.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/PlayerThread.cxx b/src/PlayerThread.cxx index 599df833d..2d8e6caaf 100644 --- a/src/PlayerThread.cxx +++ b/src/PlayerThread.cxx @@ -335,6 +335,8 @@ player_open_output(struct player *player) pc->state = PLAYER_STATE_PLAY; pc->Unlock(); + idle_add(IDLE_PLAYER); + return true; } else { g_warning("%s", error->message); @@ -399,6 +401,8 @@ player_check_decoder_startup(struct player *player) pc->audio_format = dc->in_audio_format; pc->Unlock(); + idle_add(IDLE_PLAYER); + player->play_audio_format = dc->out_audio_format; player->decoder_starting = false; |