aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSimon Kagstrom <simon.kagstrom@gmail.com>2011-03-20 17:27:01 +0100
committerMax Kellermann <max@duempel.org>2011-03-23 22:13:11 +0100
commit640bac1aa4d0f3d7db83bb4558cce935884b3d01 (patch)
tree4c5529740c265853820992af1a152925343d0219 /src
parent0b12fae84da92498db612d3fabf57edfad65fa9d (diff)
downloadmpd-640bac1aa4d0f3d7db83bb4558cce935884b3d01.tar.gz
mpd-640bac1aa4d0f3d7db83bb4558cce935884b3d01.tar.xz
mpd-640bac1aa4d0f3d7db83bb4558cce935884b3d01.zip
decoder: PCM decoder: Inherit seekable from the input stream
E.g., spotify isn't seekable.
Diffstat (limited to '')
-rw-r--r--src/decoder/pcm_decoder_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/pcm_decoder_plugin.c b/src/decoder/pcm_decoder_plugin.c
index 1da21c209..c8340ab67 100644
--- a/src/decoder/pcm_decoder_plugin.c
+++ b/src/decoder/pcm_decoder_plugin.c
@@ -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];