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
1 changed files with 1 additions and 1 deletions

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;
}