pad-monitor: fix combined flow checks
We can only check if we found a downstream monitor
This commit is contained in:
parent
16b1d750c8
commit
a11cc64f90
@ -419,11 +419,11 @@ gst_qa_pad_monitor_check_aggregated_return (GstQaPadMonitor * monitor,
|
|||||||
while (!done) {
|
while (!done) {
|
||||||
switch (gst_iterator_next (iter, (gpointer *) & otherpad)) {
|
switch (gst_iterator_next (iter, (gpointer *) & otherpad)) {
|
||||||
case GST_ITERATOR_OK:
|
case GST_ITERATOR_OK:
|
||||||
found_a_pad = TRUE;
|
|
||||||
peerpad = gst_pad_get_peer (otherpad);
|
peerpad = gst_pad_get_peer (otherpad);
|
||||||
if (peerpad) {
|
if (peerpad) {
|
||||||
othermonitor = g_object_get_data ((GObject *) peerpad, "qa-monitor");
|
othermonitor = g_object_get_data ((GObject *) peerpad, "qa-monitor");
|
||||||
if (othermonitor) {
|
if (othermonitor) {
|
||||||
|
found_a_pad = TRUE;
|
||||||
aggregated =
|
aggregated =
|
||||||
_combine_flows (aggregated, othermonitor->last_flow_return);
|
_combine_flows (aggregated, othermonitor->last_flow_return);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user