summaryrefslogtreecommitdiffstats
path: root/video/out/vo.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-07-26 20:31:26 +0200
committerwm4 <wm4@nowhere>2014-07-26 20:31:26 +0200
commit760548da286400534017e885af123fffeb6cc707 (patch)
tree0fbfcc64d8b23b84e7d0221be0cbe0390e07d650 /video/out/vo.h
parent3f268cc4f2a498f909f9199b1683d2c6eb285af8 (diff)
downloadmpv-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.h')
-rw-r--r--video/out/vo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/vo.h b/video/out/vo.h
index c07c071d44..2dade4c9d1 100644
--- a/video/out/vo.h
+++ b/video/out/vo.h
@@ -134,6 +134,8 @@ struct voctrl_screenshot_args {
// VO does handle mp_image_params.rotate in 90 degree steps
#define VO_CAP_ROTATE90 1
+// Requires VOCTRL_WINDOW_TO_OSD_COORDS to map mouse coords. to OSD coords.
+#define VO_CAP_EVIL_OSD 2
#define VO_MAX_QUEUE 5