From c5aa7d83ac7fc1b4ffbd1e47e6758e21b26c1694 Mon Sep 17 00:00:00 2001 From: Dudemanguy Date: Sun, 29 Sep 2024 13:39:26 -0500 Subject: [PATCH] wayland_common: fix some stray tabs quite unfortunate --- video/out/wayland_common.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c index cdc5215a5c..6f9eb8e5f4 100644 --- a/video/out/wayland_common.c +++ b/video/out/wayland_common.c @@ -1880,14 +1880,14 @@ static void get_gpu_drm_formats(struct vo_wayland_state *wl) // Only check the formats on the first primary plane we find as a crude guess. int index = -1; for (int i = 0; i < res->count_planes; ++i) { - drmModeObjectProperties *props = NULL; - props = drmModeObjectGetProperties(fd, res->planes[i], DRM_MODE_OBJECT_PLANE); + drmModeObjectProperties *props = NULL; + props = drmModeObjectGetProperties(fd, res->planes[i], DRM_MODE_OBJECT_PLANE); if (!props) { MP_VERBOSE(wl, "Unable to get DRM plane properties: %s\n", mp_strerror(errno)); continue; } for (int j = 0; j < props->count_props; ++j) { - drmModePropertyRes *prop = drmModeGetProperty(fd, props->props[j]); + drmModePropertyRes *prop = drmModeGetProperty(fd, props->props[j]); if (!prop) { MP_VERBOSE(wl, "Unable to get DRM plane property: %s\n", mp_strerror(errno)); continue; @@ -1898,7 +1898,7 @@ static void get_gpu_drm_formats(struct vo_wayland_state *wl) index = i; } } - drmModeFreeProperty(prop); + drmModeFreeProperty(prop); if (index > -1) break; }