summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2018-01-21 15:36:08 -0800
committerKevin Mitchell <kevmitch@gmail.com>2018-01-26 21:50:38 -0800
commit3766024dcd85ec7b3bffdcf81cf1356d6fc82543 (patch)
tree464a329515afcc23579822e598804443677b39aa /DOCS
parent8c8dcc698b394be4de5804313e8d8a7a4c094e2f (diff)
downloadmpv-3766024dcd85ec7b3bffdcf81cf1356d6fc82543.tar.bz2
mpv-3766024dcd85ec7b3bffdcf81cf1356d6fc82543.tar.xz
command: add --osd-on-seek option defaulting to bar
Restores behaviour prior to aef2ed5dc13e37dec0670c451b4369b151d5c65f. That change was apparently unpopular. However, given the amount of complaining over how hard it is to change the defaults by rebinding every key, I think the extra option introduced by this commit is justified. Technically not all behaviour is restored, because now --no-osd-bar will not instead display the msg text on seek. I think that feature was a little weird and is now easy enough to remedy with the --osd-on-seek option.
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/interface-changes.rst1
-rw-r--r--DOCS/man/options.rst18
2 files changed, 14 insertions, 5 deletions
diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst
index ce60e72f6d..2b36506920 100644
--- a/DOCS/interface-changes.rst
+++ b/DOCS/interface-changes.rst
@@ -35,6 +35,7 @@ Interface changes
vf toggle commands and the filter enable/disable flag to customize it.
- deprecate --af=lavrresample. Use the ``--audio-resample-...`` options to
customize resampling, or the libavfilter ``--af=aresample`` filter.
+ - add --osd-on-seek
--- mpv 0.28.0 ---
- rename --hwdec=mediacodec option to mediacodec-copy, to reflect
conventions followed by other hardware video decoding APIs
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index 65fb3e3778..57e79806c8 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -3096,9 +3096,15 @@ OSD
Disable display of the OSD bar.
You can configure this on a per-command basis in input.conf using ``osd-``
- prefixes, see ``Input command prefixes``. If you want to disable the OSD
+ prefixes, see ``Input Command Prefixes``. If you want to disable the OSD
completely, use ``--osd-level=0``.
+``--osd-on-seek=<no,bar,msg,msg-bar>``
+ Set what is displayed on the OSD during seeks. The default is ``bar``.
+
+ You can configure this on a per-command basis in input.conf using ``osd-``
+ prefixes, see ``Input Command Prefixes``.
+
``--osd-duration=<time>``
Set the duration of the OSD messages in ms (default: 1000).
@@ -3130,16 +3136,18 @@ OSD
(default), then the playback time, duration, and some more information is
shown.
- This is also used for the ``show-progress`` command (by default mapped to
- ``P``), and when seeking.
+ This is used for the ``show-progress`` command (by default mapped to ``P``),
+ and when seeking if enabled with ``--osd-on-seek`` or by ``osd-`` prefixes
+ in input.conf (see ``Input Command Prefixes``).
``--osd-status-msg`` is a legacy equivalent (but with a minor difference).
``--osd-status-msg=<string>``
Show a custom string during playback instead of the standard status text.
This overrides the status text used for ``--osd-level=3``, when using the
- ``show-progress`` command (by default mapped to ``P``), and when
- seeking. Expands properties. See `Property Expansion`_.
+ ``show-progress`` command (by default mapped to ``P``), and when seeking if
+ enabled with ``--osd-on-seek`` or ``osd-`` prefixes in input.conf (see
+ ``Input Command Prefixes``). Expands properties. See `Property Expansion`_.
This option has been replaced with ``--osd-msg3``. The only difference is
that this option implicitly includes ``${osd-sym-cc}``. This option is