mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
validate: scenario: Avoid reporting issue with SCENARIO_LOCK taken
This might lead to deadlock and is not needed here Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5666>
This commit is contained in:
parent
a56abe2c9d
commit
a075264215
1 changed files with 4 additions and 0 deletions
|
@ -6513,9 +6513,13 @@ _execute_stop (GstValidateScenario * scenario, GstValidateAction * action)
|
||||||
GstClockTime position = GST_CLOCK_TIME_NONE;
|
GstClockTime position = GST_CLOCK_TIME_NONE;
|
||||||
|
|
||||||
_get_position (scenario, NULL, &position);
|
_get_position (scenario, NULL, &position);
|
||||||
|
SCENARIO_UNLOCK (scenario);
|
||||||
|
|
||||||
GST_VALIDATE_REPORT (scenario, SCENARIO_NOT_ENDED,
|
GST_VALIDATE_REPORT (scenario, SCENARIO_NOT_ENDED,
|
||||||
"%i actions were not executed: %s (position: %" GST_TIME_FORMAT
|
"%i actions were not executed: %s (position: %" GST_TIME_FORMAT
|
||||||
")", nb_actions, actions, GST_TIME_ARGS (position));
|
")", nb_actions, actions, GST_TIME_ARGS (position));
|
||||||
|
|
||||||
|
SCENARIO_LOCK (scenario);
|
||||||
}
|
}
|
||||||
g_free (actions);
|
g_free (actions);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue