From 3766024dcd85ec7b3bffdcf81cf1356d6fc82543 Mon Sep 17 00:00:00 2001 From: Kevin Mitchell Date: Sun, 21 Jan 2018 15:36:08 -0800 Subject: 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. --- DOCS/interface-changes.rst | 1 + DOCS/man/options.rst | 18 +++++++++++++----- options/options.c | 6 ++++++ options/options.h | 1 + player/command.c | 15 +++++++++------ 5 files changed, 30 insertions(+), 11 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=`` + 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=