From d126f65485c657b8010f01da77618ffc7b86d3a8 Mon Sep 17 00:00:00 2001 From: Nicolas Dufresne Date: Mon, 15 Aug 2022 14:30:50 -0400 Subject: [PATCH] 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: --- subprojects/gst-plugins-good/sys/v4l2/gstv4l2bufferpool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-good/sys/v4l2/gstv4l2bufferpool.c b/subprojects/gst-plugins-good/sys/v4l2/gstv4l2bufferpool.c index b0305a7326..4c471f184f 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;