<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Nicolas,<br>
</p>
<div class="moz-cite-prefix">On 24-06-2022 19:50, Nicolas Dufresne
via gstreamer-devel wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAKQmDh-kGKerCN6B6fOBvH9YWySRkfN8yoGGXfi_d1wMF-pkmg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="auto">
<div>Hi,<br>
<br>
<div class="gmail_quote"><br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
gstv4l2bufferpool.c:478:gst_v4l2_buffer_pool_alloc_buffer:<v4l2src0:pool0:src>
<br>
newly allocated buffer 1 is not free<br>
<br>
Despite the warnings, the pipeline appears to work, but I
would prefer <br>
it to not spam warnings continuously :) Any ideas? This is
on Ubuntu <br>
20.04, on different PCs and with different cameras.<br>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">Do you have any information about the driver?</div>
</div>
</blockquote>
<p>It's a very common Logitech C920 webcam (but I've seen the same
message with a Z-Cam M3 camera). I think that uses a generic UVC
driver? Anything I can run to get you more info?</p>
<p> Something interesting perhaps:<font face="monospace"><br>
</font></p>
<p><font face="monospace">v4l2-ctl -d /dev/video2 --list-formats<br>
ioctl: VIDIOC_ENUM_FMT<br>
Index : 0<br>
Type : Video Capture<br>
Pixel Format: 'YUYV'<br>
Name : YUYV 4:2:2<br>
<br>
Index : 1<br>
Type : Video Capture<br>
Pixel Format: 'MJPG' (compressed)<br>
Name : Motion-JPEG</font></p>
<p>If I use the YUYV mode, I *don't* get the warning:</p>
<p><font face="monospace">GST_DEBUG=3 gst-launch-1.0 v4l2src
device=/dev/video2 ! video/x-raw ! videoconvert ! autovideosink</font></p>
<p>reports no warnings (but the framerate is awful, of course).</p>
<p>HTH,<br>
Michiel<br>
</p>
</body>
</html>