From: Nicolas Dufresne Date: Mon, 15 Aug 2022 18:30:50 +0000 (-0400) Subject: v4l2bufferpool: Fix debug trace X-Git-Tag: 1.22.0~1095 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d126f65485c657b8010f01da77618ffc7b86d3a8;p=platform%2Fupstream%2Fgstreamer.git v4l2bufferpool: Fix debug trace The tracing of the buffer pointer was done on the secondary pointer, which does not match with other traces of the same buffer. This made the trace confusing and less useful. Fixes #1379 Part-of: --- diff --git a/subprojects/gst-plugins-good/sys/v4l2/gstv4l2bufferpool.c b/subprojects/gst-plugins-good/sys/v4l2/gstv4l2bufferpool.c index b0305a7..4c471f1 100644 --- a/subprojects/gst-plugins-good/sys/v4l2/gstv4l2bufferpool.c +++ b/subprojects/gst-plugins-good/sys/v4l2/gstv4l2bufferpool.c @@ -1959,7 +1959,7 @@ gst_v4l2_buffer_pool_process (GstV4l2BufferPool * pool, GstBuffer ** buf, GstBufferPool *bpool = GST_BUFFER_POOL_CAST (pool); GstV4l2Object *obj = pool->obj; - GST_DEBUG_OBJECT (pool, "process buffer %p", buf); + GST_DEBUG_OBJECT (pool, "process buffer %p", *buf); if (GST_BUFFER_POOL_IS_FLUSHING (pool)) return GST_FLOW_FLUSHING;