ges: Do not try to set read only properties

When copying and splitting clips

Fixes T7375
This commit is contained in:
Thibault Saunier 2016-04-09 21:12:00 -03:00
parent af27a11d65
commit 9add236a0e

View file

@ -1200,6 +1200,8 @@ ges_track_element_copy_properties (GESTimelineElement * element,
ges_track_element_list_children_properties (GES_TRACK_ELEMENT (element),
&n_specs);
for (n = 0; n < n_specs; ++n) {
if (!(specs[n]->flags & G_PARAM_WRITABLE))
continue;
g_value_init (&val, specs[n]->value_type);
ges_track_element_get_child_property_by_pspec (GES_TRACK_ELEMENT (element),
specs[n], &val);