mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +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:
|
case GST_VALIDATE_EXECUTE_ACTION_NON_BLOCKING:
|
||||||
break;
|
break;
|
||||||
case GST_VALIDATE_EXECUTE_ACTION_IN_PROGRESS:
|
case GST_VALIDATE_EXECUTE_ACTION_IN_PROGRESS:
|
||||||
|
case GST_VALIDATE_EXECUTE_ACTION_OK:
|
||||||
return G_SOURCE_CONTINUE;
|
return G_SOURCE_CONTINUE;
|
||||||
case GST_VALIDATE_EXECUTE_ACTION_ASYNC:
|
case GST_VALIDATE_EXECUTE_ACTION_ASYNC:
|
||||||
if (GST_CLOCK_TIME_IS_VALID (act->priv->timeout)) {
|
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;
|
return G_SOURCE_CONTINUE;
|
||||||
default:
|
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 ();
|
g_assert_not_reached ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue