no tracer named 'leaks'

Matthew Waters ystreet00 at gmail.com
Wed Nov 6 11:43:24 UTC 2019


Looks like there is an ordering issue.  On android you need to register
the plugin before it can be used.  This may be an issue in GStreamer or
with your build modifications.

Cheers
-Matt

On 6/11/19 9:09 pm, Sirius Wu wrote:
> HI,
>
> I've modified Android tutorial 5 to learn how to write a player.
> I'm using GStreamer 1.16.1.
>
> While testing the tutorial with a HLS link, I suspected that there are
> memory leaks caused by the playbin plugin. So I passed the following
> environment with Android's Os.setenv() to the player. I also added a
> gst_deinit() at the end of app_function().
>
>             Os.setenv("GST_TRACERS", "leaks", true);
>             Os.setenv("GST_DEBUG", "GST_TRACER:7", true);
>
> But I cannot find any logs from the leak tracer. I've only seen the
> following warning:
>
> _priv_gst_tracing_init no tracer named 'leaks'
> gst_tracer_register:<tracerfactory0> new tracer factory for latency
> gst_tracer_register:<latency> tracer factory for
> 2818005248:GstLatencyTracer
> gst_tracer_register:<tracerfactory1> new tracer factory for log
> gst_tracer_register:<log> tracer factory for 2818005328:GstLogTracer
> gst_tracer_register:<tracerfactory2> new tracer factory for rusage
> gst_tracer_register:<rusage> tracer factory for 2818005408:GstRUsageTracer
> gst_tracer_register:<tracerfactory3> new tracer factory for stats
> gst_tracer_register:<stats> tracer factory for 2818005488:GstStatsTracer
> gst_tracer_register:<tracerfactory4> new tracer factory for leaks
> gst_tracer_register:<leaks> tracer factory for 2818005568:GstLeaksTracer
>
> -- 
> Sirius Wu
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20191106/55d388b5/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20191106/55d388b5/attachment-0001.sig>


More information about the gstreamer-devel mailing list