gst: Fix logging in buffer_recycle()

The first argument should be a GObject. GstMiniObjects are not GObject.
This commit is contained in:
Philippe Normand 2021-07-24 17:28:56 +01:00 committed by Wim Taymans
parent 1f0934862a
commit 8b5601947c

View file

@ -407,7 +407,7 @@ buffer_recycle (GstMiniObject *obj)
src = data->owner; src = data->owner;
data->queued = TRUE; data->queued = TRUE;
GST_LOG_OBJECT (obj, "recycle buffer"); GST_LOG_OBJECT (src, "recycle buffer %p", obj);
pw_thread_loop_lock (src->core->loop); pw_thread_loop_lock (src->core->loop);
if (src->stream) if (src->stream)
pw_stream_queue_buffer (src->stream, data->b); pw_stream_queue_buffer (src->stream, data->b);