tagdemux: Fix crash when shutting down element during getrange()
authorSebastian Dröge <sebastian@centricular.com>
Tue, 6 Dec 2016 14:29:23 +0000 (16:29 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 6 Dec 2016 14:29:23 +0000 (16:29 +0200)
commit7c1a32e28b9d145ee25e3d3141dee7821ba8a7e2
treec3fb3500b6d269b667c651ac14fcf095f940a9bd
parent9fd90258e669aaf3a5f4628f8efee484384835e7
tagdemux: Fix crash when shutting down element during getrange()

Ensure that nothing is in any of the streaming thread functions
anymore when going from PAUSED to READY. While the parent's state change
function has deactivated all pads, there is nothing preventing
downstream from activating our srcpad again and calling the getrange()
function. Although we're in READY!

https://bugzilla.gnome.org/show_bug.cgi?id=775687
gst-libs/gst/tag/gsttagdemux.c