mirror of
https://github.com/mpv-player/mpv
synced 2024-09-09 01:16:56 +02:00
command: make pause display the same osd-msg-bar as seek
Previously, toggling pause would generate no osd response, and changing that wasn't even configurable. This was surprising to users who generally expect to see *where* pause / unpause is taking place (#3028).
This commit is contained in:
parent
cd8daee3d3
commit
6e974f77bd
@ -3140,15 +3140,15 @@ OSD
|
||||
shown.
|
||||
|
||||
This is also used for the ``show-progress`` command (by default mapped to
|
||||
``P``), and when seeking.
|
||||
``P``), when toggling pause, and when seeking.
|
||||
|
||||
``--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``), when toggling pause,
|
||||
and when seeking. 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
|
||||
|
@ -4342,7 +4342,9 @@ static const struct property_osd_display {
|
||||
{"ab-loop-b", .msg = "A-B loop: ${ab-loop-a} - ${ab-loop-b}"},
|
||||
{"audio-device", "Audio device"},
|
||||
// By default, don't display the following properties on OSD
|
||||
{"pause", NULL},
|
||||
{"pause",
|
||||
.seek_msg = OSD_SEEK_INFO_TEXT,
|
||||
.seek_bar = OSD_SEEK_INFO_BAR},
|
||||
{"fullscreen", NULL},
|
||||
{0}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user