rtpbin: Unlock before adding pad in new_payload_found
authorTrond Andersen <trond.andersen@tandberg.com>
Wed, 7 Apr 2010 13:31:52 +0000 (15:31 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Fri, 24 Sep 2010 12:00:11 +0000 (14:00 +0200)
commit800b4bdb2692d00d5725baa3c4f790bdec5e1d62
treec547c896c83a77290c03c12bcef3182ccf8ad318
parent062568a9f53632b6bca5803d2d381741fc387b1d
rtpbin: Unlock before adding pad in new_payload_found

Holding internal locks while potentially calling out is a source
of deadlocks, and in this case the application might subscribe to the
pad-added signal.

Fixes #630449
gst/rtpmanager/gstrtpbin.c