From 3b68b5088b70ccebd70fad4a3ea6d0497b74233b Mon Sep 17 00:00:00 2001 From: Michael Tretter Date: Tue, 11 Jun 2024 15:21:04 +0200 Subject: [PATCH] gst: pipewiresrc: move correct brace under HAVE_GSTREAMER_DMA_DRM The HAVE_GSTREAMER_DMA_DRM belongs to the inner brace, not the outer brace, since the inner if statement is under HAVE_GSTREAMER_DMA_DRM. While doesn't make a difference to the compiler, but confuses a reader. Put the other brace under the HAVE_GSTREAMER_DMA_DRM. --- src/gst/gstpipewiresrc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gst/gstpipewiresrc.c b/src/gst/gstpipewiresrc.c index a90fe2043..5297bf060 100644 --- a/src/gst/gstpipewiresrc.c +++ b/src/gst/gstpipewiresrc.c @@ -1064,10 +1064,10 @@ handle_format_change (GstPipeWireSrc *pwsrc, #endif gst_video_info_from_caps (&pwsrc->video_info, pwsrc->caps); - } #ifdef HAVE_GSTREAMER_DMA_DRM - } + } #endif + } } else { pwsrc->negotiated = FALSE; pwsrc->is_video = FALSE;