timeline: Sync track enable_update property with parent

When we add a track to a timeline, we want it "enable update" property
to be set to the timeline's
This commit is contained in:
Thibault Saunier 2013-06-12 11:09:13 -04:00
parent be765f564c
commit 284648e536

View file

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