Commit 640bac1a authored by Simon Kagstrom's avatar Simon Kagstrom Committed by Max Kellermann

decoder: PCM decoder: Inherit seekable from the input stream

E.g., spotify isn't seekable.
parent 0b12fae8
......@@ -44,7 +44,7 @@ pcm_stream_decode(struct decoder *decoder, struct input_stream *is)
if (is->size >= 0)
total_time = is->size / time_to_size;
decoder_initialized(decoder, &audio_format, true, total_time);
decoder_initialized(decoder, &audio_format, is->seekable, total_time);
do {
char buffer[4096];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment