From 653980ac3a6f312f7f1343b0c8f8bcdd550fea89 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 14 Dec 2013 01:21:06 +0100 Subject: dvdnav, tv: force-disable caching On dvdnav, caching kind of works but not really. (Not our fault, at least not fully. It's due to libdvdnav being slightly misdesigned; see previous commit for some explanations.) The TV code is implemented in the demuxer, and the stream implementation is just a wrapper, so caching makes no sense here. --- stream/stream_tv.c | 1 + 1 file changed, 1 insertion(+) (limited to 'stream/stream_tv.c') diff --git a/stream/stream_tv.c b/stream/stream_tv.c index b1c2e63167..89d22e9a3d 100644 --- a/stream/stream_tv.c +++ b/stream/stream_tv.c @@ -92,6 +92,7 @@ tv_stream_open (stream_t *stream, int mode) stream->type = STREAMTYPE_TV; stream->close=tv_stream_close; stream->demuxer = "tv"; + stream->allow_caching = false; return STREAM_OK; } -- cgit v1.2.3