validate: scenario: fix dropped checking when terminating scenario
We want to early return if either no max value has been set for the scenario or if we didn't receive any QoS information.
This commit is contained in:
parent
916bf5cdf1
commit
78a8306955
@ -832,7 +832,7 @@ gst_validate_scenario_check_dropped (GstValidateScenario * scenario)
|
||||
|
||||
dropped = g_atomic_int_get (&priv->dropped);
|
||||
|
||||
if (priv->max_dropped == -1 || dropped != -1)
|
||||
if (priv->max_dropped == -1 || dropped == -1)
|
||||
return;
|
||||
|
||||
GST_DEBUG_OBJECT (scenario, "Number of dropped buffers: %d (max allowed: %d)",
|
||||
|
Loading…
x
Reference in New Issue
Block a user