aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlayerThread.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-08-28 13:04:45 +0200
committerMax Kellermann <max@duempel.org>2014-08-28 13:08:44 +0200
commitf02998b106a73281356d69cc7b19d069aea8cf0d (patch)
treee6a574eb9c6cf1fbe91bb92ce6261ec863b77737 /src/PlayerThread.cxx
parent127fe6ecf001a7bfb7f9a1d704d22c5a866896a5 (diff)
downloadmpd-f02998b106a73281356d69cc7b19d069aea8cf0d.tar.gz
mpd-f02998b106a73281356d69cc7b19d069aea8cf0d.tar.xz
mpd-f02998b106a73281356d69cc7b19d069aea8cf0d.zip
DecoderControl: use std::chrono::duration for start_ms and end_ms
Diffstat (limited to 'src/PlayerThread.cxx')
-rw-r--r--src/PlayerThread.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PlayerThread.cxx b/src/PlayerThread.cxx
index e527a80ba..37edb0a20 100644
--- a/src/PlayerThread.cxx
+++ b/src/PlayerThread.cxx
@@ -296,7 +296,7 @@ Player::StartDecoder(MusicPipe &_pipe)
start_time += pc.seek_time;
dc.Start(new DetachedSong(*pc.next_song),
- start_time.ToMS(), pc.next_song->GetEndTime().ToMS(),
+ start_time, pc.next_song->GetEndTime(),
buffer, _pipe);
}