0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00
mpv/options
wm4 ea2b19f646 player: allow overriding OSD message for all OSD levels
Until now, you could override only level 3 with --osd-status-msg. Extend
this, add add --osd-msg1 to --osd-msg3 (one for each OSD level). OSD
level 0 always means disable OSD, so that isn't included.

--osd-msg3 corresponds to --osd-status-msg, but they're not exactly the
same. To allow more customization, --osd-msgN do not include the OSD
symbol. The symbol can be manually added with "${osd-sym-cc}". We keep
the "old" option for some short-term compatibility.

--osd-msg1 should be particularly useful; for example you could do:

    --osd-msg1='${?pause==yes:${osd-sym-cc}}'

to display a "paused" symbol when paused, and nothing during normal
playback. (Although admittedly, the syntax is quite a bit of work.)
2014-09-18 01:23:33 +02:00
..
m_config.c options: add M_OPT_FILE flag to mark options that want a file(list) 2014-09-13 02:03:09 +02:00
m_config.h Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
m_option.c video: initial Matroska 3D support 2014-08-30 23:24:46 +02:00
m_option.h options: add M_OPT_FILE flag to mark options that want a file(list) 2014-09-13 02:03:09 +02:00
m_property.c command: make m_property_strdup_ro with NULL mean unavailable 2014-09-01 21:50:54 +02:00
m_property.h command: redo the property type 2014-06-13 02:11:39 +02:00
options.c player: allow overriding OSD message for all OSD levels 2014-09-18 01:23:33 +02:00
options.h player: allow overriding OSD message for all OSD levels 2014-09-18 01:23:33 +02:00
parse_commandline.c options: fix "-" (stdin) input 2014-05-06 01:06:07 +02:00
parse_commandline.h msg: remove global state 2013-12-21 23:11:12 +01:00
parse_configfile.c config: adjust config parser messages 2014-07-13 20:11:46 +02:00
parse_configfile.h encode: don't apply default config options 2014-04-19 22:05:17 +02:00
path.c path: remove XDG bullshit 2014-09-03 02:07:36 +02:00
path.h Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00