rtpmux: Unlock the right mutex
authorYouness Alaoui <youness.alaoui@collabora.co.uk>
Thu, 26 Aug 2010 02:56:03 +0000 (22:56 -0400)
committerTim-Philipp Müller <tim@centricular.net>
Sun, 16 Dec 2012 16:35:15 +0000 (16:35 +0000)
commite42d2eebcb703874dafc29777734fcb4fb2b2666
treee6329f292047b65b41f24395e96f7449c8aa728f
parent78d1ebac9e3506d982cee5355bbef1e4b471b713
rtpmux: Unlock the right mutex

The mutex locked is for the 'mux' object, but we unlock the
pad, which means that if the rtpmux gets a flush, then the
object lock will stay locked forever, causing it to freeze
the next time it tries to take it.

Fixes bug #627991
gst/rtpmanager/gstrtpmux.c