From 3a5d5f01d4d8d7beb53c3288d72db20f2ad0b141 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 18 Aug 2012 10:37:34 +0200 Subject: 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. --- stream/cache2.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'stream/cache2.c') 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; -- cgit v1.2.3