From 9add236a0e9d89d14c007604bfff609008e9a6c1 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Sat, 9 Apr 2016 21:12:00 -0300 Subject: [PATCH] ges: Do not try to set read only properties When copying and splitting clips Fixes T7375 --- ges/ges-track-element.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ges/ges-track-element.c b/ges/ges-track-element.c index d6a3380012..78b95cdf9b 100644 --- a/ges/ges-track-element.c +++ b/ges/ges-track-element.c @@ -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);