From 9a82afbc8714118312bbde200b7f86feac3d3336 Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Wed, 17 Jul 2013 00:29:38 -0300 Subject: [PATCH] pad-monitor: check for when a flush start isn't expected Complain when an unexpected flush-start is received --- validate/gst/qa/gst-qa-pad-monitor.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/validate/gst/qa/gst-qa-pad-monitor.c b/validate/gst/qa/gst-qa-pad-monitor.c index ee975ea..ccf134c 100644 --- a/validate/gst/qa/gst-qa-pad-monitor.c +++ b/validate/gst/qa/gst-qa-pad-monitor.c @@ -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) { -- 2.7.4