mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
validate: Handle checking/setting subprojects ges properties
This commit is contained in:
parent
5ea914a575
commit
1f919dae98
1 changed files with 5 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue