diff options
Diffstat (limited to 'stream/cache2.c')
-rw-r--r-- | stream/cache2.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/stream/cache2.c b/stream/cache2.c index 488e453dc6..69ed82dd27 100644 --- a/stream/cache2.c +++ b/stream/cache2.c @@ -441,10 +441,6 @@ int stream_enable_cache(stream_t *stream,int64_t size,int64_t min,int64_t seek_l int res = -1; cache_vars_t* s; - if (stream->flags & STREAM_NON_CACHEABLE) { - mp_msg(MSGT_CACHE,MSGL_STATUS,"\rThis stream is non-cacheable\n"); - return 1; - } if (size > SIZE_MAX) { mp_msg(MSGT_CACHE, MSGL_FATAL, "Cache size larger than max. allocation size\n"); return -1; |