validate: Accept pad return FLUSHING when the element is being teared down
authorThibault Saunier <thibault.saunier@collabora.com>
Tue, 22 Mar 2016 10:19:42 +0000 (11:19 +0100)
committerThibault Saunier <thibault.saunier@collabora.com>
Tue, 22 Mar 2016 11:11:52 +0000 (12:11 +0100)
commit4f553b7c786afa97215c4de9e83c4817ced28d31
tree72a0ca4f9b69b12e3748ac89a9d1e221ca4366ef
parent621bda9b62da87854a81f5704d43765f4e95a886
validate: Accept pad return FLUSHING when the element is being teared down

In the case and element is in READY or is going to READY state, it can
always return GST_FLOW_FLUSHING.

Avoid a race where a demuxer sinkpad has not been set to FLUSHING when we are
still processing a buffer but downstream is already FLUSHING and thus
the demuxer is already returning FLUSHING.
validate/gst/validate/gst-validate-pad-monitor.c
validate/gst/validate/gst-validate-pipeline-monitor.c