mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 11:55:39 +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")) {
|
||||
gst_structure_free (action->structure);
|
||||
|
||||
action->priv->printed = FALSE;
|
||||
action->structure = gst_structure_copy (action->priv->main_structure);
|
||||
}
|
||||
|
||||
|
@ -2352,9 +2353,7 @@ _execute_sub_action_action (GstValidateAction * action)
|
|||
GstValidateExecuteActionReturn res;
|
||||
GstValidateActionType *action_type = _find_action_type (action->type);
|
||||
|
||||
gst_validate_printf (action->scenario, "Executing sub action of type %s",
|
||||
action->type);
|
||||
|
||||
action->priv->printed = FALSE;
|
||||
res = gst_validate_execute_action (action_type, action);
|
||||
|
||||
return res;
|
||||
|
|
Loading…
Reference in a new issue