summaryrefslogtreecommitdiff
path: root/subprojects/gst-devtools
diff options
context:
space:
mode:
authorThibault Saunier <tsaunier@igalia.com>2023-12-12 18:28:52 -0300
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>2023-12-27 02:14:19 +0000
commit80e44ac3440fc4ceda40dad08978569bfff1814d (patch)
treec21d85ce596fd1f39d5bfeed136ffb65368223b4 /subprojects/gst-devtools
parent93f1ffe715b6dd4fc817f8fa45b7c0fbe640afa6 (diff)
validate: scenario: Handle the case where execute_next_action is called with an action that is OK
It is now a valid case when running subaction in foreign scenarios Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5803>
Diffstat (limited to 'subprojects/gst-devtools')
-rw-r--r--subprojects/gst-devtools/validate/gst/validate/gst-validate-scenario.c5
1 files changed, 4 insertions, 1 deletions
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 4557ae2149..df72d2836c 100644
--- a/subprojects/gst-devtools/validate/gst/validate/gst-validate-scenario.c
+++ b/subprojects/gst-devtools/validate/gst/validate/gst-validate-scenario.c
@@ -3072,6 +3072,7 @@ execute_next_action_full (GstValidateScenario * scenario, GstMessage * message)
case GST_VALIDATE_EXECUTE_ACTION_NON_BLOCKING:
break;
case GST_VALIDATE_EXECUTE_ACTION_IN_PROGRESS:
+ case GST_VALIDATE_EXECUTE_ACTION_OK:
return G_SOURCE_CONTINUE;
case GST_VALIDATE_EXECUTE_ACTION_ASYNC:
if (GST_CLOCK_TIME_IS_VALID (act->priv->timeout)) {
@@ -3094,7 +3095,9 @@ execute_next_action_full (GstValidateScenario * scenario, GstMessage * message)
return G_SOURCE_CONTINUE;
default:
- GST_ERROR ("State is %d", act->priv->state);
+ GST_ERROR_OBJECT (scenario, "State is %s(%d)",
+ gst_validate_action_return_get_name (act->priv->state),
+ act->priv->state);
g_assert_not_reached ();
}