trackelement: Make use of read-only children properties.

Read only properties will throw a GLib warning like this
when accessed with "set_child_property":

Warning: g_object_set_property: property 'text-x' of object class 'GstTextOverlay' is not writable
This commit is contained in:
Lubosz Sarnecki 2016-02-02 20:31:13 +01:00 committed by Thibault Saunier
parent 38c4e415fd
commit 6381e16c51

View file

@ -703,7 +703,7 @@ ges_track_element_add_children_props (GESTrackElement * self,
continue;
}
if (pspec->flags & G_PARAM_WRITABLE) {
if (pspec->flags) {
ges_timeline_element_add_child_property (GES_TIMELINE_ELEMENT (self),
pspec, G_OBJECT (element));
GST_LOG_OBJECT (self,