aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/player/Thread.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/player/Thread.cxx b/src/player/Thread.cxx
index b251cddfb..5673f4867 100644
--- a/src/player/Thread.cxx
+++ b/src/player/Thread.cxx
@@ -380,7 +380,7 @@ Player::ActivateDecoder()
song = pc.next_song;
pc.next_song = nullptr;
- elapsed_time = SongTime::zero();
+ elapsed_time = pc.seek_time;
/* set the "starting" flag, which will be cleared by
player_check_decoder_startup() */
@@ -948,7 +948,6 @@ Player::Run()
pc.Lock();
pc.state = PlayerState::PLAY;
- elapsed_time = pc.seek_time;
pc.CommandFinished();