diff options
author | Lionel CHAZALLON <LongChair@hotmail.com> | 2017-10-22 23:59:58 -0700 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-10-23 21:08:20 +0200 |
commit | 1992bb51515b46555e2a75b780dc79d973b7cf3a (patch) | |
tree | cfb2cf5b052cb116c050c0c8e279ab498fc6a2b6 /video/out/drm_common.h | |
parent | cfcee4cfe70536faeb9f2aaa87257d067e902b70 (diff) | |
download | mpv-1992bb51515b46555e2a75b780dc79d973b7cf3a.tar.bz2 mpv-1992bb51515b46555e2a75b780dc79d973b7cf3a.tar.xz |
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.
Diffstat (limited to 'video/out/drm_common.h')
-rw-r--r-- | video/out/drm_common.h | 6 |
1 files changed, 6 insertions, 0 deletions
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); |