Memory not released gstrtpbin on pad removed

tanmay.ambre ambre.tanmay at gmail.com
Fri May 25 06:17:15 PDT 2012


i am trying to determine why the memory consumed doesnt return to pre - pad
added level even after unlinking and removing all elements added from
pipline.

udpsrc --> gstrtpbin
Memory :: 2640K

on pad-added signal for gstrtpbin (autoremove=true)

I add and link the following elements to the bin 

[gstrtpbin(srcPad)(existing)]-->sink
(queue)-->rtpspeexdepay-->speexdec-->directsoundsink

The stream starts playing Memory ::3120K - Everything fine

When pad-removed signal is recieved

I unlink ,remove, Set state to NULL and unref for the following elements
-->sink -->rtpspeexdepay-->speexdec-->directsoundsink
The ref count at the end of the function for each element shows 0.

i expect the memory to got back to its previous level of 2640K But instead
it is 2750K.

Am I missing some obvious part i need to do. Or how can I trace this
increased memory size?

I am using OSSBuild.

Cheers

Tanmay Ambre

--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Memory-not-released-gstrtpbin-on-pad-removed-tp4654362.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list