Python Gstreamer - Tearing down pipeline

Mailing List SVR lists at svrinformatica.it
Sun Mar 6 23:43:46 PST 2011


Il giorno gio, 03/03/2011 alle 10.10 -0800, Matt Veenstra ha scritto: 
> I have an ugly memory leak because I assumed GStreamer got cleaned up.
>  Bad assumption on my part.
> 
> - I remove the bus signal and delete the bus.
> - I set the pipeline to NULL and del the pipeline.
> 
> Question: Must I then release every element added?

No they are automatically cleaned up, however if you keep a reference
somewhere in your app to the pipeline or to some elements the memory is
not freed I did the same mistake in my app,

Nicola 

>   Or are these
> automatically cleaned up.
> 
> Thanks,
> Matt
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list