summaryrefslogtreecommitdiffstats
path: root/libvo/video_out.h
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/video_out.h')
-rw-r--r--libvo/video_out.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/libvo/video_out.h b/libvo/video_out.h
index ca94f477a1..2d75067818 100644
--- a/libvo/video_out.h
+++ b/libvo/video_out.h
@@ -55,6 +55,20 @@
// ... 21
#define VOCTRL_START_SLICE 21
+// Vo can be used by xover
+#define VOCTRL_XOVERLAY_SUPPORT 22
+
+#define VOCTRL_XOVERLAY_SET_COLORKEY 24
+typedef struct {
+ uint32_t x11; // The raw x11 color
+ uint16_t r,g,b;
+} mp_colorkey_t;
+
+#define VOCTRL_XOVERLAY_SET_WIN 23
+typedef struct {
+ int x,y;
+ int w,h;
+} mp_win_t;
#define VO_TRUE 1
#define VO_FALSE 0
@@ -66,6 +80,7 @@
#define VOFLAG_MODESWITCHING 0x02
#define VOFLAG_SWSCALE 0x04
#define VOFLAG_FLIPPING 0x08
+#define VOFLAG_XOVERLAY_SUB_VO 0x10000
typedef struct vo_info_s
{