summaryrefslogtreecommitdiffstats
path: root/stream/cache2.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-08-18 10:37:34 +0200
committerwm4 <wm4@nowhere>2012-08-20 15:36:03 +0200
commit3a5d5f01d4d8d7beb53c3288d72db20f2ad0b141 (patch)
tree4b07874ce53c81de4fb74c77c9859def23f62ac6 /stream/cache2.c
parent8ca3ec1562986c0681261cad407e05578eda45fd (diff)
downloadmpv-3a5d5f01d4d8d7beb53c3288d72db20f2ad0b141.tar.bz2
mpv-3a5d5f01d4d8d7beb53c3288d72db20f2ad0b141.tar.xz
Remove support for LIVE555 RTSP streaming
The main excuse for removing this is that LIVE555 deprecated the API the mplayer implementation was using. The old API still seems to be somewhat supported, but must be explicitly enabled at LIVE555 compilation, so mplayer won't always work on any user installation. The implementation was also very messy, in C++, and FFmpeg support is available as alternative. Remove it completely.
Diffstat (limited to 'stream/cache2.c')
-rw-r--r--stream/cache2.c4
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;