summaryrefslogtreecommitdiffstats
path: root/stream/stream_live555.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-11-17 19:23:55 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-11-17 19:23:55 +0000
commite02a2e7f08a87f2147a149a9a66992965e219fce (patch)
treef1ef4edb07ea8cf1bfbc0f19a195ad711419f16a /stream/stream_live555.c
parenta81e043f98d79f1e0a47210a0f82062e8b5dbcca (diff)
downloadmpv-e02a2e7f08a87f2147a149a9a66992965e219fce.tar.bz2
mpv-e02a2e7f08a87f2147a149a9a66992965e219fce.tar.xz
Deobfuscate the special hack to disable cache for live555.
Cache can not be used for it, since it does not provide any data stream, the data is provided to the demuxer "behind MPlayer's back". git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29930 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/stream_live555.c')
-rw-r--r--stream/stream_live555.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/stream_live555.c b/stream/stream_live555.c
index 619a8d90af..c36c9ff33a 100644
--- a/stream/stream_live555.c
+++ b/stream/stream_live555.c
@@ -44,6 +44,7 @@ static int open_live_rtsp_sip(stream_t *stream,int mode, void* opts, int* file_f
*file_format = DEMUXER_TYPE_RTP;
stream->type = STREAMTYPE_STREAM;
+ stream->flags = STREAM_NONCACHEABLE;
return STREAM_OK;
fail: