From 8b5601947c7bca527634a38421d83c069921d0f0 Mon Sep 17 00:00:00 2001 From: Philippe Normand Date: Sat, 24 Jul 2021 17:28:56 +0100 Subject: [PATCH] gst: Fix logging in buffer_recycle() The first argument should be a GObject. GstMiniObjects are not GObject. --- src/gst/gstpipewiresrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gst/gstpipewiresrc.c b/src/gst/gstpipewiresrc.c index 5341f6e6b..7e15a9268 100644 --- a/src/gst/gstpipewiresrc.c +++ b/src/gst/gstpipewiresrc.c @@ -407,7 +407,7 @@ buffer_recycle (GstMiniObject *obj) src = data->owner; data->queued = TRUE; - GST_LOG_OBJECT (obj, "recycle buffer"); + GST_LOG_OBJECT (src, "recycle buffer %p", obj); pw_thread_loop_lock (src->core->loop); if (src->stream) pw_stream_queue_buffer (src->stream, data->b);