mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
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:
parent
38c4e415fd
commit
6381e16c51
1 changed files with 1 additions and 1 deletions
|
@ -703,7 +703,7 @@ ges_track_element_add_children_props (GESTrackElement * self,
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pspec->flags & G_PARAM_WRITABLE) {
|
if (pspec->flags) {
|
||||||
ges_timeline_element_add_child_property (GES_TIMELINE_ELEMENT (self),
|
ges_timeline_element_add_child_property (GES_TIMELINE_ELEMENT (self),
|
||||||
pspec, G_OBJECT (element));
|
pspec, G_OBJECT (element));
|
||||||
GST_LOG_OBJECT (self,
|
GST_LOG_OBJECT (self,
|
||||||
|
|
Loading…
Reference in a new issue