GNOME Bugzilla – Bug 783345
rtph265depay: caps leak
Last modified: 2017-06-02 10:58:03 UTC
The leaks tracer reports a leak that seems to come from rtph265depay: $ GST_DEBUG=GST_TRACER:9 GST_TRACERS=leaks gst-launch-1.0 videotestsrc num-buffers=1 ! x265enc ! rtph265pay ! rtph265depay ! fakesink 0:00:00.007297421 23371 0x7b2410 DEBUG GST_TRACER gsttracer.c:163:gst_tracer_register:<registry0> update existing feature 0x61ecc0 (latency) 0:00:00.007316491 23371 0x7b2410 DEBUG GST_TRACER gsttracer.c:163:gst_tracer_register:<registry0> update existing feature 0x61ec00 (log) 0:00:00.007323208 23371 0x7b2410 DEBUG GST_TRACER gsttracer.c:163:gst_tracer_register:<registry0> update existing feature 0x61eb40 (rusage) 0:00:00.007328775 23371 0x7b2410 DEBUG GST_TRACER gsttracer.c:163:gst_tracer_register:<registry0> update existing feature 0x61ea80 (stats) 0:00:00.007333853 23371 0x7b2410 DEBUG GST_TRACER gsttracer.c:163:gst_tracer_register:<registry0> update existing feature 0x61e9c0 (leaks) 0:00:00.007349515 23371 0x7b2410 TRACE GST_TRACER gsttracerrecord.c:110:gst_tracer_record_build_format: object-alive.class, type-name=(structure)"value\,\ type\=\(GType\)NULL\,\ related-to\=\(GstTracerValueScope\)GST_TRACER_VALUE_SCOPE_PROCESS\;", address=(structure)"value\,\ type\=\(GType\)NULL\,\ related-to\=\(GstTracerValueScope\)GST_TRACER_VALUE_SCOPE_PROCESS\;", description=(structure)"value\,\ type\=\(GType\)NULL\,\ related-to\=\(GstTracerValueScope\)GST_TRACER_VALUE_SCOPE_PROCESS\;", ref-count=(structure)"value\,\ type\=\(GType\)NULL\,\ related-to\=\(GstTracerValueScope\)GST_TRACER_VALUE_SCOPE_PROCESS\;", trace=(structure)"value\,\ type\=\(GType\)NULL\,\ related-to\=\(GstTracerValueScope\)GST_TRACER_VALUE_SCOPE_PROCESS\;"; 0:00:00.007371354 23371 0x7b2410 DEBUG GST_TRACER gsttracerrecord.c:124: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; Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Redistribute latency... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock Got EOS from element "pipeline0". Execution ended after 0:00:00.000127008 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... 0:00:00.032908999 23371 0x7b2410 TRACE GST_TRACER :0:: object-alive, type-name=(string)GstCaps, address=(gpointer)0x7f94e4003140, description=(string)video/x-h265, stream-format=(string)byte-stream, alignment=(string)nal, ref-count=(uint)1, trace=(string); ** (gst-launch-1.0:23371): WARNING **: Leaks detected
Fixed, thanks: commit 18b53c223647e86a91eccbac4563aa906030cc05 Author: Tim-Philipp Müller <tim@centricular.com> Date: Fri Jun 2 11:30:15 2017 +0100 rtph265depay: fix caps leak Also picked into 1.12 branch.