mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
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:
parent
b0ce5d0dd8
commit
3b68b5088b
1 changed files with 2 additions and 2 deletions
|
|
@ -1064,10 +1064,10 @@ handle_format_change (GstPipeWireSrc *pwsrc,
|
||||||
#endif
|
#endif
|
||||||
gst_video_info_from_caps (&pwsrc->video_info,
|
gst_video_info_from_caps (&pwsrc->video_info,
|
||||||
pwsrc->caps);
|
pwsrc->caps);
|
||||||
}
|
|
||||||
#ifdef HAVE_GSTREAMER_DMA_DRM
|
#ifdef HAVE_GSTREAMER_DMA_DRM
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
pwsrc->negotiated = FALSE;
|
pwsrc->negotiated = FALSE;
|
||||||
pwsrc->is_video = FALSE;
|
pwsrc->is_video = FALSE;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue