hlsdemux: Join the task instead of just stopping it and not waiting for it to finish
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 31 Aug 2011 12:47:40 +0000 (14:47 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 31 Aug 2011 12:47:40 +0000 (14:47 +0200)
commit119771eaabb67e43c3a5929f7c9327d6b1f9bb08
tree7cfbb1e3f5dd38f839c594c4a6750722658c28e1
parentc8b7ae1ffa8f3813e00f17089987758f6f67a419
hlsdemux: Join the task instead of just stopping it and not waiting for it to finish

Fixes interesting race conditions that cause crashes in decodebin2
because pads are added/removed from child elements although they
should be in READY state already.
gst/hls/gsthlsdemux.c