decoder: PCM decoder: Inherit seekable from the input stream
E.g., spotify isn't seekable.
This commit is contained in:
parent
0b12fae84d
commit
640bac1aa4
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user