summaryrefslogtreecommitdiffstats
path: root/video/out/vo.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo.h')
-rw-r--r--video/out/vo.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/video/out/vo.h b/video/out/vo.h
index 28cb3a00ed..b9887d2119 100644
--- a/video/out/vo.h
+++ b/video/out/vo.h
@@ -130,6 +130,9 @@ struct voctrl_screenshot_args {
#define VOFLAG_GL_DEBUG 0x40 // Hint to request debug OpenGL context
#define VOFLAG_ALPHA 0x80 // Hint to request alpha framebuffer
+// VO does handle mp_image_params.rotate in 90 degree steps
+#define VO_CAP_ROTATE90 1
+
struct vo;
struct osd_state;
struct mp_image;
@@ -143,6 +146,9 @@ struct vo_driver {
// Encoding functionality, which can be invoked via --o only.
bool encode;
+ // VO_CAP_* bits
+ int caps;
+
const char *name;
const char *description;