1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-23 00:06:56 +00:00

vo_drm: fix CRTC usage

This commit is contained in:
rr- 2016-01-18 22:33:52 +01:00 committed by wm4
parent f9cefbfec4
commit 48c9101a5b

View File

@ -128,7 +128,7 @@ static bool setup_crtc(struct kms *kms, const drmModeRes *res)
continue;
kms->encoder = encoder;
kms->crtc_id = encoder->crtc_id;
kms->crtc_id = res->crtcs[j];
return true;
}