summaryrefslogtreecommitdiffstats
path: root/player/sub.c
diff options
context:
space:
mode:
authorAvi Halachmi (:avih) <avihpit@yahoo.com>2016-02-09 14:07:00 +0200
committerChrisK2 <spam@kalania.de>2016-02-27 22:19:30 +0100
commitad2d10af1993591e8b175b10cb83f91fa13e8fe8 (patch)
treecbcb913445fc7364dd4831c2dc5a28b1d99e018e /player/sub.c
parent3ab6af4f59dd21e3c9c514a25be380f883d608fe (diff)
downloadmpv-ad2d10af1993591e8b175b10cb83f91fa13e8fe8.tar.bz2
mpv-ad2d10af1993591e8b175b10cb83f91fa13e8fe8.tar.xz
osc: add always-on mode and unify visibility mode (always/never/auto)
Adds always-on mode by internally utilizing hidetimeout as negative and forbidding the user to set negative values. This removes script-message to enable/disable the osc, and instead introduces a combined 'visibility' control with the values never/auto/always. It's available via script_opts and script_message as 'osc-visibility'. As message, it also supports a 'cycle' value. The del key is bound to cycling the visibility modes.
Diffstat (limited to 'player/sub.c')
0 files changed, 0 insertions, 0 deletions