pad-monitor: check for when a flush start isn't expected

Complain when an unexpected flush-start is received
This commit is contained in:
Thiago Santos 2013-07-17 00:29:38 -03:00
parent c942eabbfd
commit 9a82afbc87

View file

@ -384,6 +384,9 @@ gst_qa_pad_monitor_src_event_check (GstQaPadMonitor * pad_monitor,
"The expected flush-start seqnum should be the same as the "
"one from the event that caused it (probably a seek)");
}
} else {
GST_QA_MONITOR_REPORT_CRITICAL (pad_monitor, EVENT, UNEXPECTED,
"Received unexpected flush-start");
}
if (pad_monitor->pending_flush_stop) {