diff options
author | Max Kellermann <max@musicpd.org> | 2018-02-17 13:10:03 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-02-17 13:33:51 +0100 |
commit | b53a23b51b8d02a709af0bc8681a25197f12481b (patch) | |
tree | 99e66e2bc130b6679bbdf629016b43ac44b1a7f3 /src | |
parent | 2aad0153925aa0fc7bf0bac206a756e294c8e6a0 (diff) |
decoder/flac: call FlacSubmitToClient() again after seeking
See code comment.
Diffstat (limited to 'src')
-rw-r--r-- | src/decoder/plugins/FlacDecoderPlugin.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/decoder/plugins/FlacDecoderPlugin.cxx b/src/decoder/plugins/FlacDecoderPlugin.cxx index 2dc24568d..0b1c2a12a 100644 --- a/src/decoder/plugins/FlacDecoderPlugin.cxx +++ b/src/decoder/plugins/FlacDecoderPlugin.cxx @@ -166,6 +166,11 @@ flac_decoder_loop(FlacDecoder *data, FLAC__StreamDecoder *flac_dec) client.CommandFinished(); } else client.SeekError(); + + /* FLAC__stream_decoder_seek_absolute() + decodes one frame and may have provided + data to be submitted to the client */ + continue; } else if (cmd == DecoderCommand::STOP) break; |