return TRUE;
}
-
static GstValidateExecuteActionReturn
_fill_action (GstValidateScenario * scenario, GstValidateAction * action,
GstStructure * structure, gboolean add_to_lists)
action->structure = gst_structure_copy (structure);
+ if (!action->priv->main_structure)
+ action->priv->main_structure = gst_structure_copy (structure);
+
if (IS_CONFIG_ACTION_TYPE (action_type->flags)) {
res = action_type->execute (scenario, action);
gst_validate_action_unref (action);
return res;
}
-
static GstValidateExecuteActionReturn
_execute_sub_action_action (GstValidateAction * action)
{
structure, TRUE) == GST_VALIDATE_EXECUTE_ACTION_ERROR)
goto failed;
- action->priv->main_structure = gst_structure_copy (structure);
action->action_number = priv->num_actions++;
}