player/Control: initialize seek_time in EnqueueSongLocked()
Allows removing a few special cases in the player thread.
This commit is contained in:
@@ -417,6 +417,7 @@ private:
|
||||
assert(next_song == nullptr);
|
||||
|
||||
next_song = song;
|
||||
seek_time = SongTime::zero();
|
||||
SynchronousCommand(PlayerCommand::QUEUE);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user