diff options
Diffstat (limited to 'video/out/drm_common.c')
-rw-r--r-- | video/out/drm_common.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/video/out/drm_common.c b/video/out/drm_common.c index 8402ac7e69..1a164f9a30 100644 --- a/video/out/drm_common.c +++ b/video/out/drm_common.c @@ -48,6 +48,9 @@ const struct m_sub_options drm_conf = { 0, drm_validate_connector_opt), OPT_INT("drm-mode", drm_mode_id, 0), OPT_INT("drm-overlay", drm_overlay_id, 0), + OPT_CHOICE("drm-format", drm_format, 0, + ({"xrgb8888", DRM_OPTS_FORMAT_XRGB8888}, + {"xrgb2101010", DRM_OPTS_FORMAT_XRGB2101010})), {0}, }, .size = sizeof(struct drm_opts), |