how to enable gstreamer leaks tracker?

Guillaume Desmottes guillaume.desmottes at collabora.com
Thu Nov 26 13:26:18 UTC 2020


Hi,


Those variables seems correct but you have to call gst_deinit() right 
before exiting your application
so that the tracer can check for leaks.


On 26/11/20 13:40, Jovic, Vladimir wrote:
>
> Hi,
>
>
> I would like to track a leak in my application, which uses gstreamer 
> libraries to display ip camera image.
>
> Reading online documentation, I set next environment variables and 
> then I run my program:
>
> GST_TRACERS="leaks"
>
> GST_DEBUG="GST_TRACER:7"
> but it didn't print anything.
>
> So, I was wondering - do I need to somehow configure gstreamer 
> libraries to enable leaks tracer? I use yocto to build, and the 
> version is 1.16.2.
>
>
> Cheers,
>
> Vladimir Jovic
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20201126/55b427ad/attachment.htm>


More information about the gstreamer-devel mailing list