Merge tag 'v0.21.14'

release v0.21.14
This commit is contained in:
Max Kellermann
2019-08-21 10:52:49 +02:00
7 changed files with 64 additions and 42 deletions

View File

@@ -418,6 +418,11 @@ static void
decoder_run_song(DecoderControl &dc,
const DetachedSong &song, const char *uri, Path path_fs)
{
if (dc.command == DecoderCommand::SEEK)
/* if the SEEK command arrived too late, start the
decoder at the seek position */
dc.start_time = dc.seek_time;
DecoderBridge bridge(dc, dc.start_time.IsPositive(),
/* pass the song tag only if it's
authoritative, i.e. if it's a local