From 2f8135ef8bb4723e040571e38699300f21334127 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 4 Jan 2010 21:42:11 +0100 Subject: input/rewind: enable the "rewind" wrapper for all non-seekable streams Don't limit the "rewind" input plugin to CURL streams. --- src/input/rewind_input_plugin.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/input/rewind_input_plugin.c') diff --git a/src/input/rewind_input_plugin.c b/src/input/rewind_input_plugin.c index 68b3e8036..2804dd1b2 100644 --- a/src/input/rewind_input_plugin.c +++ b/src/input/rewind_input_plugin.c @@ -221,9 +221,8 @@ input_rewind_open(struct input_stream *is) assert(is != NULL); assert(is->offset == 0); - if (is->plugin != &input_plugin_curl) - /* due to limitations in the input_plugin API, we only - (explicitly) support the CURL input plugin */ + if (is->seekable) + /* seekable resources don't need this plugin */ return is; c = g_new(struct input_rewind, 1); -- cgit v1.2.3