summaryrefslogtreecommitdiffstats
path: root/video/out/vo_drm.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo_drm.c')
-rw-r--r--video/out/vo_drm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/video/out/vo_drm.c b/video/out/vo_drm.c
index b25f036256..ed41d2aab0 100644
--- a/video/out/vo_drm.c
+++ b/video/out/vo_drm.c
@@ -420,7 +420,8 @@ static int preinit(struct vo *vo)
p->kms = kms_create(
vo->log, vo->opts->drm_opts->drm_connector_spec,
vo->opts->drm_opts->drm_mode_id,
- vo->opts->drm_opts->drm_overlay_id);
+ vo->opts->drm_opts->drm_osd_plane_id,
+ vo->opts->drm_opts->drm_video_plane_id);
if (!p->kms) {
MP_ERR(vo, "Failed to create KMS.\n");
goto err;