aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/ffmpeg_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-02 17:06:32 +0100
committerMax Kellermann <max@duempel.org>2008-11-02 17:06:32 +0100
commit4d069b49919da991482ec46daacde62113dad7e8 (patch)
tree1c0d3274b7f50722627911204d42bdcd2bb189b7 /src/decoder/ffmpeg_plugin.c
parent460b15d29c125a70c37dd484fb0268698331504d (diff)
downloadmpd-4d069b49919da991482ec46daacde62113dad7e8.tar.gz
mpd-4d069b49919da991482ec46daacde62113dad7e8.tar.xz
mpd-4d069b49919da991482ec46daacde62113dad7e8.zip
ogg, ffmpeg: try to decode, even when the stream is not seekable
Ogg and ffmpeg detection was disabled when the stream was not seekable, because the detection was too expensive. Since the curl input stream can now rewind the stream cheaply, we can re-enable detection on streams.
Diffstat (limited to '')
-rw-r--r--src/decoder/ffmpeg_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/ffmpeg_plugin.c b/src/decoder/ffmpeg_plugin.c
index 5137d412f..96ea2e5be 100644
--- a/src/decoder/ffmpeg_plugin.c
+++ b/src/decoder/ffmpeg_plugin.c
@@ -210,7 +210,7 @@ ffmpeg_helper(struct input_stream *input, bool (*callback)(BasePtrs *ptrs),
static bool
ffmpeg_try_decode(struct input_stream *input)
{
- return input->seekable && ffmpeg_helper(input, NULL, NULL);
+ return ffmpeg_helper(input, NULL, NULL);
}
static enum decoder_command