<div dir="ltr"><div class="gmail_quote"><div>Hi Experts,</div>
<br>
I have a gstreamer test pipeline which I run as below:<br>
gst-launch-1.0 videotestsrc is-live=yes ! aspectratiocrop aspect-ratio=4/3<br>
! vp8enc ! rtpvp8pay !<br>
application/x-rtp,media=video,encoding-name=VP8,payload=96 ! rtpvp8depay !<br>
decodebin ! autovideosink<br>
<br>
Also, I have following environment variables set to generate leak trace:<br>
set GST_DEBUG=GST_TRACER:7<br>
set GST_TRACERS=leaks<br>
set GST_DEBUG_FILE=logTrace<br>
<br>
Below is content of logTrace file, which shows leak in capsfilter -<br>
application/x-rtp,media=video,encoding-name=VP8,payload=96. As all the<br>
elements in the pipeline are gstreamer provided and not custom, I do not<br>
understand how I can fix this. Please help and guide.<br>
<br>
========================================================================================================================<br></div><div>0:00:00.802370800 36936 0000000003F425A0 DEBUG             GST_TRACER gsttracer.c:164:gst_tracer_register:<registry0> update existing feature 0000000001077180 (latency)<br>0:00:00.802895700 36936 0000000003F425A0 DEBUG             GST_TRACER gsttracer.c:164:gst_tracer_register:<registry0> update existing feature 0000000001077240 (log)<br>0:00:00.802943700 36936 0000000003F425A0 DEBUG             GST_TRACER gsttracer.c:164:gst_tracer_register:<registry0> update existing feature 0000000001077300 (stats)<br>0:00:00.802988600 36936 0000000003F425A0 DEBUG             GST_TRACER gsttracer.c:164:gst_tracer_register:<registry0> update existing feature 00000000010773C0 (leaks)<br>0:00:00.803093500 36936 0000000003F425A0 TRACE             GST_TRACER gsttracerrecord.c:111:gst_tracer_record_build_format: object-alive.class, type-name=(structure)"value\,\ type\=\(type\)gchararray\,\ related-to\=\(GstTracerValueScope\)GST_TRACER_VALUE_SCOPE_PROCESS\;", address=(structure)"value\,\ type\=\(type\)gpointer\,\ related-to\=\(GstTracerValueScope\)GST_TRACER_VALUE_SCOPE_PROCESS\;", description=(structure)"value\,\ type\=\(type\)gchararray\,\ related-to\=\(GstTracerValueScope\)GST_TRACER_VALUE_SCOPE_PROCESS\;", ref-count=(structure)"value\,\ type\=\(type\)guint\,\ related-to\=\(GstTracerValueScope\)GST_TRACER_VALUE_SCOPE_PROCESS\;", trace=(structure)"value\,\ type\=\(type\)gchararray\,\ related-to\=\(GstTracerValueScope\)GST_TRACER_VALUE_SCOPE_PROCESS\;";<br>0:00:00.803149100 36936 0000000003F425A0 DEBUG             GST_TRACER gsttracerrecord.c:125:gst_tracer_record_build_format: new format string: object-alive, type-name=(string)%s, address=(gpointer)%p, description=(string)%s, ref-count=(uint)%u, trace=(string)%s;<br>0:00:00.803360100 36936 0000000003F425A0 TRACE             GST_TRACER gsttracerrecord.c:111:gst_tracer_record_build_format: object-refings.class, ts=(structure)"value\,\ type\=\(type\)guint64\,\ related-to\=\(GstTracerValueScope\)GST_TRACER_VALUE_SCOPE_PROCESS\;", type-name=(structure)"value\,\ type\=\(type\)gchararray\,\ related-to\=\(GstTracerValueScope\)GST_TRACER_VALUE_SCOPE_PROCESS\;", address=(structure)"value\,\ type\=\(type\)gpointer\,\ related-to\=\(GstTracerValueScope\)GST_TRACER_VALUE_SCOPE_PROCESS\;", description=(structure)"value\,\ type\=\(type\)gchararray\,\ related-to\=\(GstTracerValueScope\)GST_TRACER_VALUE_SCOPE_PROCESS\;", ref-count=(structure)"value\,\ type\=\(type\)guint\,\ related-to\=\(GstTracerValueScope\)GST_TRACER_VALUE_SCOPE_PROCESS\;", trace=(structure)"value\,\ type\=\(type\)gchararray\,\ related-to\=\(GstTracerValueScope\)GST_TRACER_VALUE_SCOPE_PROCESS\;";<br>0:00:00.803498500 36936 0000000003F425A0 DEBUG             GST_TRACER gsttracerrecord.c:125:gst_tracer_record_build_format: new format string: object-refings, ts=(guint64)%I64u, type-name=(string)%s, address=(gpointer)%p, description=(string)%s, ref-count=(uint)%u, trace=(string)%s;<br>0:00:03.355505900 36936 0000000003F425A0 TRACE             GST_TRACER :0:: object-alive, type-name=(string)GstCaps, address=(gpointer)0000000004A7F890, description=(string)application/x-rtp, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)VP8, media=(string)video, ref-count=(uint)1, trace=(string);<br></div><div>==========================================================================================================================</div><div><br></div><div>P.S.- The above pipeline is a test pipeline used to demonstrate leak. My original pipeline uses the same capsfilter and hence I need to fix this leak.</div><div><br></div><div>Help Appreciated !</div><div><br></div>--------<br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Thanks and Regards,</div><div dir="ltr">Saurabh Bora<br><div><br></div><div>PH NO : 7038166900</div><div>EMAIL : <a href="mailto:saurabh9bora@gmail.com" style="font-size:12.8px" target="_blank">saurabh9bora@gmail.com</a></div><div>             <a href="mailto:saurabh9bora@outlook.com" target="_blank">saurabh9bora@outlook.com</a></div></div></div></div></div></div></div></div></div></div>