summaryrefslogtreecommitdiffstats
path: root/player/sub.c
diff options
context:
space:
mode:
authorAvi Halachmi (:avih) <avihpit@yahoo.com>2016-02-14 05:20:54 +0200
committerChrisK2 <spam@kalania.de>2016-02-27 22:19:30 +0100
commit3ab6af4f59dd21e3c9c514a25be380f883d608fe (patch)
tree5cd69c15f9928050ce824b017da9277e58d5f457 /player/sub.c
parent49660bcc3efa6ec6d86db30fa9d0b71b6a06b7d7 (diff)
downloadmpv-3ab6af4f59dd21e3c9c514a25be380f883d608fe.tar.bz2
mpv-3ab6af4f59dd21e3c9c514a25be380f883d608fe.tar.xz
osc: fix runtime enable_osc(true/false)
There were few issues: - When it's disabled and then enabled, it was displaying the osc briefly and then autohide right away. Don't do that. - When it's enabled and then disabled, it was not removing the osc from screen if called while the osc is visible (because tick() is responsible for the hide but it doesn't render() the empty osc when the osc is disabled). - Due to delayed/async unbinding of mouse events it was possible to show_osc() after it got disabled e.g. from mouse_move. Prevent this.
Diffstat (limited to 'player/sub.c')
0 files changed, 0 insertions, 0 deletions