mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
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 835d693749
This commit is contained in:
parent
84651fcac7
commit
9a20b4cfe9
1 changed files with 2 additions and 2 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue