summaryrefslogtreecommitdiffstats
path: root/demux/demux.c
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2021-04-06 16:04:46 +0200
committerJan Ekström <jeebjp@gmail.com>2021-04-08 23:47:35 +0300
commitf1d0365a6f72b88f7427814f636863ae1656f72a (patch)
treee08d77c4f35026cfdf353abc7e6113dc1c840bc8 /demux/demux.c
parent3c34e6fec4b942c92313546cacd14be539cd951f (diff)
downloadmpv-f1d0365a6f72b88f7427814f636863ae1656f72a.tar.bz2
mpv-f1d0365a6f72b88f7427814f636863ae1656f72a.tar.xz
demux: undeprecate --cache-secs
It serves a purpose and a rework of the cache won't be coming anytime soon. This partially reverts commit 8427292eb7c4074e1205c3d73c53c9e82569325f.
Diffstat (limited to 'demux/demux.c')
-rw-r--r--demux/demux.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/demux/demux.c b/demux/demux.c
index 5fa0528d3d..53ad455b46 100644
--- a/demux/demux.c
+++ b/demux/demux.c
@@ -121,8 +121,7 @@ const struct m_sub_options demux_conf = {
M_RANGE(0, M_MAX_MEM_BYTES)},
{"demuxer-donate-buffer", OPT_FLAG(donate_fw)},
{"force-seekable", OPT_FLAG(force_seekable)},
- {"cache-secs", OPT_DOUBLE(min_secs_cache), M_RANGE(0, DBL_MAX),
- .deprecation_message = "will use unlimited time"},
+ {"cache-secs", OPT_DOUBLE(min_secs_cache), M_RANGE(0, DBL_MAX)},
{"access-references", OPT_FLAG(access_references)},
{"demuxer-seekable-cache", OPT_CHOICE(seekable_cache,
{"auto", -1}, {"no", 0}, {"yes", 1})},