From a075264215bb649b0f1bc145366fe0454c65826b Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Mon, 21 Aug 2023 10:43:28 -0400 Subject: [PATCH] validate: scenario: Avoid reporting issue with SCENARIO_LOCK taken This might lead to deadlock and is not needed here Part-of: --- .../validate/gst/validate/gst-validate-scenario.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/subprojects/gst-devtools/validate/gst/validate/gst-validate-scenario.c b/subprojects/gst-devtools/validate/gst/validate/gst-validate-scenario.c index 27cff22282..e987fd561a 100644 --- a/subprojects/gst-devtools/validate/gst/validate/gst-validate-scenario.c +++ b/subprojects/gst-devtools/validate/gst/validate/gst-validate-scenario.c @@ -6513,9 +6513,13 @@ _execute_stop (GstValidateScenario * scenario, GstValidateAction * action) GstClockTime position = GST_CLOCK_TIME_NONE; _get_position (scenario, NULL, &position); + SCENARIO_UNLOCK (scenario); + GST_VALIDATE_REPORT (scenario, SCENARIO_NOT_ENDED, "%i actions were not executed: %s (position: %" GST_TIME_FORMAT ")", nb_actions, actions, GST_TIME_ARGS (position)); + + SCENARIO_LOCK (scenario); } g_free (actions); }