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)
committerOlivier Crête <olivier.crete@collabora.co.uk>
Wed, 22 Jul 2009 18:19:57 +0000 (14:19 -0400)
commitd555d570e69366da7380e52fe4e5f73d9e4b7d40
tree70a314253b1f9da39f72fbbb9bb63abffb044124
parentb61f931d877172e45b67b44564ca4aec1b9d04af
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/rtpmux/gstrtpmux.c