summaryrefslogtreecommitdiffstats
path: root/cfg-mplayer.h
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-21 12:42:59 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-21 12:42:59 +0000
commitcdeb0b0380493418b6b611eb2f8c21bf723658c0 (patch)
tree9d915b3c0d0b08e41cc0e24fb043e98782f19791 /cfg-mplayer.h
parent41ef04a130ef03ab01e773676ad0cbec5e6a470d (diff)
downloadmpv-cdeb0b0380493418b6b611eb2f8c21bf723658c0.tar.bz2
mpv-cdeb0b0380493418b6b611eb2f8c21bf723658c0.tar.xz
-cache option to enable cache and set buffer size
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2333 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-mplayer.h')
-rw-r--r--cfg-mplayer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/cfg-mplayer.h b/cfg-mplayer.h
index d7f90276b5..77a9bf9863 100644
--- a/cfg-mplayer.h
+++ b/cfg-mplayer.h
@@ -198,6 +198,11 @@ struct config conf[]={
{"vc", &video_codec, CONF_TYPE_STRING, 0, 0, 0},
{"dshow", &allow_dshow, CONF_TYPE_FLAG, 0, 0, 1}, // Is this still needed? atmos ::
{"nodshow", &allow_dshow, CONF_TYPE_FLAG, 0, 1, 0},
+#ifdef USE_STREAM_CACHE
+ {"cache", &stream_cache_size, CONF_TYPE_INT, CONF_RANGE, 4, 65536},
+#else
+ {"cache", "MPlayer was compiled WITHOUT cache2 support", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0},
+#endif
{"vcd", &vcd_track, CONF_TYPE_INT, CONF_RANGE, 1, 99},
#ifdef USE_DVDREAD
{"dvd", &dvd_title, CONF_TYPE_INT, CONF_RANGE, 1, 99},