From 1f919dae98698b97d8a580aae3e81ccbe1913655 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Mon, 9 Mar 2020 11:49:33 -0300 Subject: [PATCH] validate: Handle checking/setting subprojects ges properties --- ges/ges-validate.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ges/ges-validate.c b/ges/ges-validate.c index 99dee95a31..e980d9afad 100644 --- a/ges/ges-validate.c +++ b/ges/ges-validate.c @@ -618,14 +618,17 @@ set_or_check_properties (GstValidateScenario * scenario, data.res = GST_VALIDATE_EXECUTE_ACTION_ERROR_REPORTED; goto done; } - g_object_unref (timeline); data.element = element; - gst_structure_remove_fields (structure, "element-name", "at-time", NULL); + gst_structure_remove_fields (structure, "element-name", "at-time", + "project-uri", NULL); gst_structure_foreach (structure, gst_structure_has_name (action->structure, "set-child-properties") ? (GstStructureForeachFunc) set_property : (GstStructureForeachFunc) check_property, &data); + + SAVE_TIMELINE_IF_NEEDED (scenario, timeline, action); + g_object_unref (timeline); gst_object_unref (element); done: