From a11cc64f90af8f95a6725cb13189777e2d1274e3 Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Thu, 18 Jul 2013 14:49:23 -0300 Subject: [PATCH] pad-monitor: fix combined flow checks We can only check if we found a downstream monitor --- validate/gst/qa/gst-qa-pad-monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validate/gst/qa/gst-qa-pad-monitor.c b/validate/gst/qa/gst-qa-pad-monitor.c index 90f35dc90d..b597144f57 100644 --- a/validate/gst/qa/gst-qa-pad-monitor.c +++ b/validate/gst/qa/gst-qa-pad-monitor.c @@ -419,11 +419,11 @@ gst_qa_pad_monitor_check_aggregated_return (GstQaPadMonitor * monitor, while (!done) { switch (gst_iterator_next (iter, (gpointer *) & otherpad)) { case GST_ITERATOR_OK: - found_a_pad = TRUE; peerpad = gst_pad_get_peer (otherpad); if (peerpad) { othermonitor = g_object_get_data ((GObject *) peerpad, "qa-monitor"); if (othermonitor) { + found_a_pad = TRUE; aggregated = _combine_flows (aggregated, othermonitor->last_flow_return); }