DecoderControl: use std::chrono::duration for start_ms and end_ms

This commit is contained in:
Max Kellermann
2014-08-28 13:04:45 +02:00
parent 127fe6ecf0
commit f02998b106
5 changed files with 19 additions and 30 deletions

View File

@@ -360,7 +360,7 @@ static void
decoder_run_song(DecoderControl &dc,
const DetachedSong &song, const char *uri, Path path_fs)
{
Decoder decoder(dc, dc.start_ms > 0,
Decoder decoder(dc, dc.start_time.IsPositive(),
new Tag(song.GetTag()));
int ret;