diff --git a/src/video_display/drm.cpp b/src/video_display/drm.cpp index 991c96d08..2d04b905c 100644 --- a/src/video_display/drm.cpp +++ b/src/video_display/drm.cpp @@ -491,6 +491,7 @@ static bool probe_drm_formats(drm_display_state *s){ Drm_object_properties_uniq props(drmModeObjectGetProperties(dri, plane_res->planes[i], DRM_MODE_OBJECT_PLANE)); if(!props){ log_msg(LOG_LEVEL_ERROR, MOD_NAME "Failed to get plane props (%s)\n", strerror(errno)); + continue; } if(get_property(dri, props.get(), "type") == DRM_PLANE_TYPE_PRIMARY){ primary_plane = std::move(plane);