Revert "decodebin2: fix deadlock on chain shutdown"
authorSebastian Dröge <sebastian@centricular.com>
Wed, 16 Dec 2015 16:07:54 +0000 (17:07 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 16 Dec 2015 16:09:25 +0000 (17:09 +0100)
commit60bad4815db966a8e4f69e333203a995e38e0159
tree4540ec748afe19cd92b31d116a2e5f70b6bed39d
parent29cfb9a6d715e310bbdf657ae267a6d86ec26dc0
Revert "decodebin2: fix deadlock on chain shutdown"

This reverts commit 77dc09c3a9a5e5e371e189f39b5557db440a8dc9.

It can cause the FLUSH_START/STOP events to go to the sink elements, which
then causes state changes and various other problems. We shouldn't really
flush downstream here, the idea is to do *draining*.

Apart from that the testcase for the original bug here works without this
commit now.
gst/playback/gstdecodebin2.c