summaryrefslogtreecommitdiffstats
path: root/stream/stream.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-14 01:21:06 +0100
committerwm4 <wm4@nowhere>2013-12-14 01:21:06 +0100
commit653980ac3a6f312f7f1343b0c8f8bcdd550fea89 (patch)
tree7c10c1adb3f5970305857421bf57738e664754eb /stream/stream.h
parent8510ddba4c51a2fd27f2a96508b963e4cf5c9857 (diff)
downloadmpv-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.h')
-rw-r--r--stream/stream.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/stream.h b/stream/stream.h
index a444601a58..cea45c5285 100644
--- a/stream/stream.h
+++ b/stream/stream.h
@@ -164,6 +164,7 @@ typedef struct stream {
char *demuxer; // request demuxer to be used
char *lavf_type; // name of expected demuxer type for lavf
bool safe_origin; // used for playlists that can be opened safely
+ bool allow_caching; // stream cache makes sense
struct MPOpts *opts;
FILE *capture_file;