1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 16:33:02 +00:00

vo_drm: Fix resolution not restored after exiting

This commit is contained in:
Marcin Kurczewski 2015-05-28 21:06:53 +02:00 committed by wm4
parent 5a1ef9d8db
commit eea625736f

View File

@ -385,7 +385,7 @@ static void release_vo_crtc(struct vo *vo)
p->old_crtc->y,
&p->dev->conn,
1,
&p->dev->mode);
&p->old_crtc->mode);
drmModeFreeCrtc(p->old_crtc);
p->old_crtc = NULL;
}