summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xine-engine/xine.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c
index 49e4fd02d..4bf7bba00 100644
--- a/src/xine-engine/xine.c
+++ b/src/xine-engine/xine.c
@@ -1240,6 +1240,7 @@ static int open_internal (xine_stream_t *stream, const char *mrl) {
}
+ no_cache = no_cache || (stream->input_plugin->get_capabilities(stream->input_plugin) & INPUT_CAP_NO_CACHE);
if( !no_cache )
/* enable buffered input plugin (request optimizer) */
stream->input_plugin = _x_cache_plugin_get_instance(stream);