Commit 9a20b4cf authored by Thibault Saunier's avatar Thibault Saunier 🌵
Browse files

track-element: Ignore writability for whitlisted children props

If the property was explicitely whitelisted, we should expose it
in any case.

This was a regression from 835d6937
parent 84651fca
Pipeline #13936 passed with stages
in 29 minutes and 47 seconds
......@@ -708,8 +708,8 @@ ges_track_element_add_child_props (GESTrackElement * self,
gobject_klass = G_OBJECT_GET_CLASS (child);
parray = g_object_class_list_properties (gobject_klass, &nb_specs);
for (i = 0; i < nb_specs; i++) {
if ((parray[i]->flags & G_PARAM_WRITABLE) &&
(!whitelist || strv_find_str (whitelist, parray[i]->name))) {
if ((!whitelist && (parray[i]->flags & G_PARAM_WRITABLE))
|| (strv_find_str (whitelist, parray[i]->name))) {
ges_timeline_element_add_child_property (GES_TIMELINE_ELEMENT
(self), parray[i], G_OBJECT (child));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment