aboutsummaryrefslogtreecommitdiffstats
path: root/src/queue/PlaylistControl.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/queue/PlaylistControl.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/queue/PlaylistControl.cxx b/src/queue/PlaylistControl.cxx
index db0b8a25d..5d4a910b0 100644
--- a/src/queue/PlaylistControl.cxx
+++ b/src/queue/PlaylistControl.cxx
@@ -215,7 +215,8 @@ playlist::SeekSongPosition(PlayerControl &pc, unsigned song, float seek_time)
queued_song = nullptr;
}
- if (!pc.Seek(new DetachedSong(queue.GetOrder(i)), seek_time)) {
+ if (!pc.Seek(new DetachedSong(queue.GetOrder(i)),
+ SongTime::FromS(seek_time))) {
UpdateQueuedSong(pc, queued_song);
return PlaylistResult::NOT_PLAYING;