mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue