mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
validate:scenario: Properly print sub action as if they were main actions
This commit is contained in:
parent
9e7f713758
commit
7888293f8f
1 changed files with 2 additions and 3 deletions
|
@ -1003,6 +1003,7 @@ gst_validate_execute_action (GstValidateActionType * action_type,
|
||||||
if (!gst_structure_has_field (action->structure, "sub-action")) {
|
if (!gst_structure_has_field (action->structure, "sub-action")) {
|
||||||
gst_structure_free (action->structure);
|
gst_structure_free (action->structure);
|
||||||
|
|
||||||
|
action->priv->printed = FALSE;
|
||||||
action->structure = gst_structure_copy (action->priv->main_structure);
|
action->structure = gst_structure_copy (action->priv->main_structure);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2352,9 +2353,7 @@ _execute_sub_action_action (GstValidateAction * action)
|
||||||
GstValidateExecuteActionReturn res;
|
GstValidateExecuteActionReturn res;
|
||||||
GstValidateActionType *action_type = _find_action_type (action->type);
|
GstValidateActionType *action_type = _find_action_type (action->type);
|
||||||
|
|
||||||
gst_validate_printf (action->scenario, "Executing sub action of type %s",
|
action->priv->printed = FALSE;
|
||||||
action->type);
|
|
||||||
|
|
||||||
res = gst_validate_execute_action (action_type, action);
|
res = gst_validate_execute_action (action_type, action);
|
||||||
|
|
||||||
return res;
|
return res;
|
||||||
|
|
Loading…
Reference in a new issue