summaryrefslogtreecommitdiffstats
path: root/options/options.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-06-22 02:50:52 +0200
committerwm4 <wm4@nowhere>2014-06-22 05:04:05 +0200
commit5b8298376b3ea548b21b652c495b5fcf3d4b5e78 (patch)
treea02fd4a94abc0c75b953fb8d2cad55894c3de305 /options/options.h
parentea1650fcc338a11adfbbbf950719c65f33acc574 (diff)
downloadmpv-5b8298376b3ea548b21b652c495b5fcf3d4b5e78.tar.bz2
mpv-5b8298376b3ea548b21b652c495b5fcf3d4b5e78.tar.xz
stream: add a file cache
For remarks, pretty much see the manpage additions. Could help with network streams that require too much seeking (maybe), or might be extended to help with the use case of watching and downloading a file at the same time. In general, it might be a useless feature and could be removed again.
Diffstat (limited to 'options/options.h')
-rw-r--r--options/options.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/options/options.h b/options/options.h
index 110a16701c..83b44c1e3d 100644
--- a/options/options.h
+++ b/options/options.h
@@ -47,6 +47,8 @@ struct mp_cache_opts {
int def_size;
int initial;
int seek_min;
+ char *file;
+ int file_max;
};
typedef struct MPOpts {