pad: refuse events in flushing
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 9 Nov 2011 16:25:30 +0000 (17:25 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 9 Nov 2011 16:25:30 +0000 (17:25 +0100)
commit756f6eb3f2eae2e210a49ab1ef01e91ef0c5ba3d
treed7f580e7796108e857483409cb3c0edce03c8ad7
parent6ed869c9f4e9631552b2af8f089252131f5d276a
pad: refuse events in flushing

when we are flushing, don't store the event on the pad but simply return FALSE.
Don't deactivate the srcpad, we need it to be active in order to push the
caps. Downstream can change the scheduling mode of an active pad.
gst/gstpad.c
plugins/elements/gsttypefindelement.c