summaryrefslogtreecommitdiff
path: root/src/xine-engine/xine.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xine-engine/xine.c')
-rw-r--r--src/xine-engine/xine.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c
index 2440e2d95..6149675f7 100644
--- a/src/xine-engine/xine.c
+++ b/src/xine-engine/xine.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: xine.c,v 1.336 2006/12/13 18:30:30 dsalt Exp $
+ * $Id: xine.c,v 1.337 2006/12/18 21:22:45 klan Exp $
*/
/*
@@ -769,6 +769,9 @@ static int open_internal (xine_stream_t *stream, const char *mrl) {
return 0;
}
+ if (stream->input_plugin->get_capabilities(stream->input_plugin) & INPUT_CAP_NOCACHE)
+ no_cache = 1;
+
if (*stream_setup) {
while (stream_setup && *stream_setup && *(++stream_setup)) {