diff options
author | wm4 <wm4@nowhere> | 2013-12-14 01:21:06 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-14 01:21:06 +0100 |
commit | 653980ac3a6f312f7f1343b0c8f8bcdd550fea89 (patch) | |
tree | 7c10c1adb3f5970305857421bf57738e664754eb /stream/stream_tv.c | |
parent | 8510ddba4c51a2fd27f2a96508b963e4cf5c9857 (diff) | |
download | mpv-653980ac3a6f312f7f1343b0c8f8bcdd550fea89.tar.bz2 mpv-653980ac3a6f312f7f1343b0c8f8bcdd550fea89.tar.xz |
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.
Diffstat (limited to 'stream/stream_tv.c')
-rw-r--r-- | stream/stream_tv.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |