appsink python memory leak?? unref call on sample?
sebastian at centricular.com
Tue Apr 12 06:48:20 UTC 2016
On Di, 2016-04-12 at 02:59 +0000, Turmel, Frederic wrote:
> Hi, I’m observing a slow memory leak with the app sink in python. I’m
> using appsink to receive raw video frame from a decodebin.
> In the C API I see that we need to call “gst_sample_unref(sample)”
> after reading the sample
> Is there an equivalent in python?
> The leak does not seems to be cause by a frame buffer leak since the
> leak is really small and a frame leak would be much bigger than what
> I’m seeing.
> Pipeline is udpsrc->tsdemux->decodebin->appsink
> Any information will be appreciated.
Please provide some code to reproduce the problem. Then we can decide
if it's a problem in your code or in the Python bindings, it's probably
the latter though.
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 949 bytes
Desc: This is a digitally signed message part
More information about the gstreamer-devel