decodebin: Shut down all elements explicitly to NULL state before freeing the decode...
authorSebastian Dröge <sebastian@centricular.com>
Mon, 14 Mar 2016 15:06:53 +0000 (17:06 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 14 Mar 2016 15:09:32 +0000 (17:09 +0200)
commit9c2d76fb9fd1f95bd87a7a0dbd3c49ea3510a03e
treea00997272a8eeae585565ec9acdc441ad5bceb67
parent65390b5129ce44b0785ec765dbf659249ab59cca
decodebin: Shut down all elements explicitly to NULL state before freeing the decode chain

Due to transient locked state during autoplugging, some elements might be
ignored by the GstBin::change_state() and might still be running. Which could
then cause pad-added and similar accessing decodebin state that does not exist
anymore, and crash.

https://bugzilla.gnome.org/show_bug.cgi?id=763625
gst/playback/gstdecodebin2.c