rtpssrcdemux: keep a ref on the src pad while using it
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Thu, 28 Jul 2011 12:44:57 +0000 (14:44 +0200)
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Thu, 28 Jul 2011 12:51:01 +0000 (14:51 +0200)
commit3a98f6f0fdd50d90f4881d096eade2e1d9da61a8
tree51f337f998f0a1ab004f001b1579e59e8cb53fdd
parentc7b9b98648e5b14e54908d3ac414e414dbf2cbd9
rtpssrcdemux: keep a ref on the src pad while using it

Prevent a possible race if clear_ssrc() is called between getting the pad and
doing the push.

Based on patch by <olivier.crete@collabora.com>

https://bugzilla.gnome.org/show_bug.cgi?id=650916
gst/rtpmanager/gstrtpssrcdemux.c