summaryrefslogtreecommitdiffstats
path: root/DOCS/man
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-01-24 01:32:56 +0100
committerKevin Mitchell <kevmitch@gmail.com>2018-01-25 20:18:32 -0800
commit11f5713e3bbeea8449a97ecb979936e02660321e (patch)
treeea8ee4886ca914a9185b0b2bd9bee68fd011869c /DOCS/man
parentcabfbc34b539c06ae37745a200996bd351b64cf5 (diff)
downloadmpv-11f5713e3bbeea8449a97ecb979936e02660321e.tar.bz2
mpv-11f5713e3bbeea8449a97ecb979936e02660321e.tar.xz
options: add an option type for byte sizes
And use it for 2 demuxer options. It could be used for more options later. (Though the --cache options can not use this, because they use KB as base unit.)
Diffstat (limited to 'DOCS/man')
-rw-r--r--DOCS/man/options.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index 637773e95d..2acc8d8239 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -2868,7 +2868,7 @@ Demuxer
``--demuxer-rawvideo-size=<value>``
Frame size in bytes when using ``--demuxer=rawvideo``.
-``--demuxer-max-bytes=<bytes>``
+``--demuxer-max-bytes=<bytesize>``
This controls how much the demuxer is allowed to buffer ahead. The demuxer
will normally try to read ahead as much as necessary, or as much is
requested with ``--demuxer-readahead-secs``. The option can be used to
@@ -2880,9 +2880,10 @@ Demuxer
Set these limits higher if you get a packet queue overflow warning, and
you think normal playback would be possible with a larger packet queue.
- See ``--list-options`` for defaults and value range.
+ See ``--list-options`` for defaults and value range. ``<bytesize>`` options
+ accept suffixes such as ``KiB`` and ``MiB``.
-``--demuxer-max-back-bytes=<value>``
+``--demuxer-max-back-bytes=<bytesize>``
This controls how much past data the demuxer is allowed to preserve. This
is useful only if the ``--demuxer-seekable-cache`` option is enabled.
Unlike the forward cache, there is no control how many seconds are actually