timeline: Sync track enable_update property with parent
authorThibault Saunier <thibault.saunier@collabora.com>
Wed, 12 Jun 2013 15:09:13 +0000 (11:09 -0400)
committerThibault Saunier <thibault.saunier@collabora.com>
Wed, 12 Jun 2013 15:16:37 +0000 (11:16 -0400)
When we add a track to a timeline, we want it "enable update" property
to be set to the timeline's

ges/ges-timeline.c

index d15fb88..2907370 100644 (file)
@@ -2513,6 +2513,8 @@ ges_timeline_add_track (GESTimeline * timeline, GESTrack * track)
   /* Inform the track that it's currently being used by ourself */
   ges_track_set_timeline (track, timeline);
 
+  ges_track_enable_update (track, timeline->priv->updates_enabled);
+
   GST_DEBUG ("Done adding track, emitting 'track-added' signal");
 
   /* emit 'track-added' */