diff options
author | wm4 <wm4@nowhere> | 2020-03-05 21:53:51 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-03-05 22:00:50 +0100 |
commit | 8427292eb7c4074e1205c3d73c53c9e82569325f (patch) | |
tree | 3991ddc0d8593b1702dfb7710fee658fa39c2af0 /demux | |
parent | f06bf8c073fb851c49e65506b783c17e3d76bc0e (diff) | |
download | mpv-8427292eb7c4074e1205c3d73c53c9e82569325f.tar.bz2 mpv-8427292eb7c4074e1205c3d73c53c9e82569325f.tar.xz |
demux: deprecate --cache-secs
Because it's confusing and useless. If nobody complains, we'll have one
weird cache configuration option less.
Diffstat (limited to 'demux')
-rw-r--r-- | demux/demux.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/demux/demux.c b/demux/demux.c index 86267695d0..98ad31dbe0 100644 --- a/demux/demux.c +++ b/demux/demux.c @@ -121,7 +121,8 @@ const struct m_sub_options demux_conf = { OPT_BYTE_SIZE("demuxer-max-back-bytes", max_bytes_bw, 0, 0, MAX_BYTES), OPT_FLAG("demuxer-donate-buffer", donate_fw, 0), OPT_FLAG("force-seekable", force_seekable, 0), - OPT_DOUBLE("cache-secs", min_secs_cache, M_OPT_MIN, .min = 0), + OPT_DOUBLE("cache-secs", min_secs_cache, M_OPT_MIN, .min = 0, + .deprecation_message = "will use unlimited time"), OPT_FLAG("access-references", access_references, 0), OPT_CHOICE("demuxer-seekable-cache", seekable_cache, 0, ({"auto", -1}, {"no", 0}, {"yes", 1})), |