From b53a23b51b8d02a709af0bc8681a25197f12481b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 17 Feb 2018 13:10:03 +0100 Subject: decoder/flac: call FlacSubmitToClient() again after seeking See code comment. --- src/decoder/plugins/FlacDecoderPlugin.cxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') 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; -- cgit v1.2.3