summaryrefslogtreecommitdiffstats
path: root/video/out/drm_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/drm_common.h')
-rw-r--r--video/out/drm_common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/video/out/drm_common.h b/video/out/drm_common.h
index 41a8e820b9..ba4fceba45 100644
--- a/video/out/drm_common.h
+++ b/video/out/drm_common.h
@@ -55,6 +55,12 @@ struct drm_opts {
struct m_geometry drm_draw_surface_size;
};
+struct drm_vsync_tuple {
+ uint64_t ust;
+ unsigned int msc;
+ unsigned int sbc;
+};
+
bool vt_switcher_init(struct vt_switcher *s, struct mp_log *log);
void vt_switcher_destroy(struct vt_switcher *s);
void vt_switcher_poll(struct vt_switcher *s, int timeout_ms);