mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
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>
This commit is contained in:
parent
93f1ffe715
commit
80e44ac344
1 changed files with 4 additions and 1 deletions
|
@ -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 ();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue