From 99330effc9269cc46b4bd09d6e14ea445c9122ec Mon Sep 17 00:00:00 2001 From: Arun Raghavan Date: Wed, 26 Mar 2025 09:51:53 -0400 Subject: [PATCH] gst: sink: Minor style consistency fixup --- src/gst/gstpipewiresink.c | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/gst/gstpipewiresink.c b/src/gst/gstpipewiresink.c index ebc09ecac..c07a1c8e5 100644 --- a/src/gst/gstpipewiresink.c +++ b/src/gst/gstpipewiresink.c @@ -947,15 +947,12 @@ gst_pipewire_sink_render (GstBaseSink * bsink, GstBuffer * buffer) gboolean copied = FALSE; buf_size = 0; // to break from the loop - /* - splitting of buffers in the case of video might break the frame layout - and that seems to be causing issues while retrieving the buffers on the receiver - side. Hence use the video_frame_map to copy the buffer of bigger size into the - pipewirepool's buffer - */ + /* splitting of buffers in the case of video might break the frame layout + * and that seems to be causing issues while retrieving the buffers on the receiver + * side. Hence use the video_frame_map to copy the buffer of bigger size into the + * pipewirepool's buffer */ - if (!gst_video_frame_map (&dst, &pwsink->stream->pool->video_info, b, - GST_MAP_WRITE)) { + if (!gst_video_frame_map (&dst, &pwsink->stream->pool->video_info, b, GST_MAP_WRITE)) { GST_ERROR_OBJECT(pwsink, "Failed to map dest buffer"); return GST_FLOW_ERROR; }