From 1992bb51515b46555e2a75b780dc79d973b7cf3a Mon Sep 17 00:00:00 2001 From: Lionel CHAZALLON Date: Sun, 22 Oct 2017 23:59:58 -0700 Subject: video : Move drm options to substruct. This allows to group them and most of all query the group config when needed and when we don't have the access to vo. --- video/out/drm_common.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'video/out/drm_common.h') diff --git a/video/out/drm_common.h b/video/out/drm_common.h index 0e6e76d03e..ff913ff00c 100644 --- a/video/out/drm_common.h +++ b/video/out/drm_common.h @@ -42,6 +42,12 @@ struct vt_switcher { void *handler_data[2]; }; +struct drm_opts { + char *drm_connector_spec; + int drm_mode_id; + int drm_overlay_id; +}; + 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); -- cgit v1.2.3