diff --git a/src/v4p/drm.c b/src/v4p/drm.c index 3ed57a8..348559e 100644 --- a/src/v4p/drm.c +++ b/src/v4p/drm.c @@ -228,7 +228,7 @@ static void _drm_cleanup(us_drm_s *drm) { run->saved_crtc->crtc_id, run->saved_crtc->buffer_id, run->saved_crtc->x, run->saved_crtc->y, &run->conn_id, 1, &run->saved_crtc->mode - ) < 0) { + ) < 0 && errno != ENOENT) { _D_LOG_PERROR("Can't restore CRTC"); } drmModeFreeCrtc(run->saved_crtc);