decodebin2: Protect subtitle elements and subtitle encoding by a new mutex
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 6 Nov 2009 14:12:06 +0000 (15:12 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 6 Nov 2009 14:15:06 +0000 (15:15 +0100)
commit5798b543df2f31bd3fc42c207dabc3ec80cddb92
tree826709cc45e79884190b0e8e58ffff78c087cba4
parentf3653854585864a09d35e037853407332ea6901f
decodebin2: Protect subtitle elements and subtitle encoding by a new mutex

Using the object lock here can and will lead to deadlocks because
of deep-notifies of property changes: the deep-notify handler will
get the parent of objects, which will take the object lock again.

Fixes bug #600479.
gst/playback/gstdecodebin2.c