mirror of
https://github.com/mpv-player/mpv
synced 2024-12-26 00:42:57 +00:00
vo_drm: Fix resolution not restored after exiting
This commit is contained in:
parent
5a1ef9d8db
commit
eea625736f
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user