Merge branch 'v0.16.x'
Conflicts: src/player_thread.c
This commit is contained in:
@@ -894,16 +894,6 @@ static void do_play(struct player_control *pc, struct decoder_control *dc)
|
||||
if (!player_check_decoder_startup(&player))
|
||||
break;
|
||||
|
||||
/* seek to the beginning of the range */
|
||||
const struct song *song = decoder_current_song(dc);
|
||||
if (song != NULL && song->start_ms > 0 &&
|
||||
/* we must not send a seek command until
|
||||
the decoder is initialized
|
||||
completely */
|
||||
!player.decoder_starting &&
|
||||
!dc_seek(dc, song->start_ms / 1000.0))
|
||||
player_dc_stop(&player);
|
||||
|
||||
player_lock(pc);
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user