0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00
mpv/player
wm4 530b203e5d 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.
2019-09-19 20:37:05 +02:00
..
javascript js: expose mpv_abort_async_command() (match dbe831bd) 2019-09-11 21:08:04 +03:00
lua osc: add feature to bottombar to not cover the video 2019-09-19 20:37:05 +02:00
audio.c player: ensure backward playback state is propagated on track switching 2019-09-19 20:37:05 +02:00
client.c client: fix potential mpv_cmd/async leak 2019-07-08 16:42:47 +02:00
client.h command: add infrastructure for async commands 2018-05-24 19:56:34 +02:00
command.c demux: add a on-disk cache 2019-09-19 20:37:05 +02:00
command.h command: add a way to abort asynchronous commands 2018-05-24 19:56:34 +02:00
configfiles.c Remove optical disc fancification layers 2019-09-13 17:31:59 +02:00
core.h player: fix --loop with backward playback 2019-09-19 20:37:05 +02:00
external_files.c external_files: add .lrc subtitle extension 2019-09-02 01:25:43 +03:00
external_files.h player: get rid of mpv_global.opts 2018-05-24 19:56:35 +02:00
javascript.c js: expose mpv_abort_async_command() (match dbe831bd) 2019-09-11 21:08:04 +03:00
loadfile.c demux: redo timed metadata 2019-09-19 20:37:05 +02:00
lua.c lua: expose mpv_abort_async_command() 2018-05-24 19:56:34 +02:00
main.c Implement backwards playback 2019-09-19 20:37:04 +02:00
misc.c player: fix --loop with backward playback 2019-09-19 20:37:05 +02:00
osd.c player: modify/simplify AB-loop behavior 2019-09-19 20:37:05 +02:00
playloop.c player: ensure backward playback state is propagated on track switching 2019-09-19 20:37:05 +02:00
screenshot.c image_writer: move convert_image() to player/screenshot.c 2019-09-14 23:02:39 +02:00
screenshot.h image_writer: move convert_image() to player/screenshot.c 2019-09-14 23:02:39 +02:00
scripting.c scripting: change when/how player waits for scripts being loaded 2018-04-18 01:17:41 +03:00
sub.c player: ensure backward playback state is propagated on track switching 2019-09-19 20:37:05 +02:00
video.c player: ensure backward playback state is propagated on track switching 2019-09-19 20:37:05 +02:00