From 11f5713e3bbeea8449a97ecb979936e02660321e Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 24 Jan 2018 01:32:56 +0100 Subject: 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.) --- DOCS/man/options.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'DOCS') 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=`` Frame size in bytes when using ``--demuxer=rawvideo``. -``--demuxer-max-bytes=`` +``--demuxer-max-bytes=`` 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. ```` options + accept suffixes such as ``KiB`` and ``MiB``. -``--demuxer-max-back-bytes=`` +``--demuxer-max-back-bytes=`` 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 -- cgit v1.2.3