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.
This commit is contained in:
Michael Tretter 2024-06-11 15:21:04 +02:00 committed by Wim Taymans
parent b0ce5d0dd8
commit 3b68b5088b

View file

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