rtpssrcdemux: Block pad while it is announced.
authorOlivier Crête <olivier.crete@collabora.com>
Tue, 7 Aug 2012 01:02:50 +0000 (18:02 -0700)
committerOlivier Crête <olivier.crete@collabora.com>
Tue, 7 Aug 2012 01:04:58 +0000 (18:04 -0700)
commit2e21ace12c55c93c05be84a0ce6f36a6ac536c69
tree9e253a2f5a5190437ea9b5f42838264143f823d6
parent81440b7e2f28c5f8eee2dda68e87718f8471576e
rtpssrcdemux: Block pad while it is announced.

Block the RTP pad and associated RTCP pads while they are being
announced. This it to prevent a race where one is announced and
before the callback has connected it, the other one gets a buffer.

We can't use the "padlock" of ssrcdemux because it causes deadlocks.
gst/rtpmanager/gstrtpssrcdemux.c