diff options
author | wm4 <wm4@nowhere> | 2014-07-26 20:31:26 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-07-26 20:31:26 +0200 |
commit | 760548da286400534017e885af123fffeb6cc707 (patch) | |
tree | 0fbfcc64d8b23b84e7d0221be0cbe0390e07d650 /video/out/vo_wayland.c | |
parent | 3f268cc4f2a498f909f9199b1683d2c6eb285af8 (diff) | |
download | mpv-760548da286400534017e885af123fffeb6cc707.tar.bz2 mpv-760548da286400534017e885af123fffeb6cc707.tar.xz |
vo: hack to avoid threading issues with mouse input
VO backends which are or will run in their own thread have a problem
with vo_mouse_movement() calling vo_control(). Restrict this to VOs
which actually need this.
Diffstat (limited to 'video/out/vo_wayland.c')
-rw-r--r-- | video/out/vo_wayland.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/vo_wayland.c b/video/out/vo_wayland.c index be9966e434..e0cf143fa0 100644 --- a/video/out/vo_wayland.c +++ b/video/out/vo_wayland.c @@ -928,6 +928,7 @@ static int control(struct vo *vo, uint32_t request, void *data) const struct vo_driver video_out_wayland = { .description = "Wayland SHM video output", .name = "wayland", + .caps = VO_CAP_EVIL_OSD, .priv_size = sizeof(struct priv), .preinit = preinit, .query_format = query_format, |