rtpmux: Free the pad private data on pad release
authorOlivier Crête <olivier.crete@collabora.co.uk>
Tue, 21 Jul 2009 19:31:33 +0000 (15:31 -0400)
committerTim-Philipp Müller <tim@centricular.net>
Sun, 16 Dec 2012 16:33:46 +0000 (16:33 +0000)
commit5e90a4e86b7787d8f3f0d930d99c0e2ede70c38c
tree9e902f2f5ce0e5c2fe064fe2f1f36b43ffaa7016
parent4be63c9add3308f773b58534542dae132ed0f0ba
rtpmux: Free the pad private data on pad release

Free the pad private data on pad release instead of using a weak ref,
which is not thread safe. Also, lock the content of the pad private using the element's
object lock.
gst/rtpmanager/gstrtpmux.c