typefind: Only push a CAPS event downstream if the sinkpad is not in PULL mode
authorSebastian Dröge <sebastian@centricular.com>
Wed, 11 May 2016 12:06:39 +0000 (15:06 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 11 May 2016 12:06:39 +0000 (15:06 +0300)
commit5e43ee5989d7b51dcb3145bd997525247a3d62dc
treec577537897ac7b51d902c490c0e3d6e5bf2c4b37
parent58f964da96b737883c281e96b356826e614e2da9
typefind: Only push a CAPS event downstream if the sinkpad is not in PULL mode

The other signal handlers of the type-found signal might have reactivated
typefind in PULL mode already, pushing a CAPS event at that point would cause
deadlocks and is in general unexpected by elements that are in PULL mode.

https://bugzilla.gnome.org/show_bug.cgi?id=765906
plugins/elements/gsttypefindelement.c