diff options
author | Petri Hintukainen <phintuka@users.sourceforge.net> | 2013-10-31 13:27:49 +0200 |
---|---|---|
committer | Petri Hintukainen <phintuka@users.sourceforge.net> | 2013-10-31 13:27:49 +0200 |
commit | 77fc2b896b6d514ee7975cdf6c4338b3560e2810 (patch) | |
tree | 2ca7e2b518424cd28e688be40bba9346e4ce8b20 /src | |
parent | 88d100d92e0be7ecfee85aae05b3689ea628bcba (diff) | |
download | xine-lib-77fc2b896b6d514ee7975cdf6c4338b3560e2810.tar.gz xine-lib-77fc2b896b6d514ee7975cdf6c4338b3560e2810.tar.bz2 |
Added INPUT_CAP_NO_CACHE
(Do not use input_cache plugin)
Diffstat (limited to 'src')
-rw-r--r-- | src/xine-engine/xine.c | 1 |
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); |