diff options
author | Simon Kagstrom <simon.kagstrom@gmail.com> | 2011-03-20 17:27:01 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-03-23 22:13:11 +0100 |
commit | 640bac1aa4d0f3d7db83bb4558cce935884b3d01 (patch) | |
tree | 4c5529740c265853820992af1a152925343d0219 /src/decoder/pcm_decoder_plugin.c | |
parent | 0b12fae84da92498db612d3fabf57edfad65fa9d (diff) | |
download | mpd-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.c | 2 |
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]; |