summaryrefslogtreecommitdiffstats
path: root/demux/demux_mkv.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-06-15 18:02:54 +0200
committerwm4 <wm4@nowhere>2019-09-19 20:37:05 +0200
commit530b203e5d150362adbbbb49783e3d1a23a730f5 (patch)
treebf59d8c97debd91d3a35adc874e4c8876a692edd /demux/demux_mkv.c
parent0b4790f23f045ada592be14f4cd1ceaa7ae47008 (diff)
downloadmpv-530b203e5d150362adbbbb49783e3d1a23a730f5.tar.bz2
mpv-530b203e5d150362adbbbb49783e3d1a23a730f5.tar.xz
osc: add feature to bottombar to not cover the video
Normally I use the OSC like this: not at all, but have a key binding that does "cycle osc" to show it. And in that case, I don't really want it to overlap the damn video. I could use the zoom/pan options to move the video out of the way, but this is also sort of annoying. Likewise, you could write a script or so which does this automatically if the OSC appears, but that's still annoying, and computing values for these options such that the video is moved correctly is tricky. So I added a bunch of options that set explicit video borders (previous commit), and a option for the OSC to use them (this commit). Disabled by default, since I'm afraid this is too awkward and unpolished, especially with OSC default settings. I'm also using "osc-visibility=always". Effectively, making the OSC appear will box the video, and making it disappear (by unloading osc.lua) will restore the video back to normal.
Diffstat (limited to 'demux/demux_mkv.c')
0 files changed, 0 insertions, 0 deletions