track: Update gaps when we set the timeline
authorThibault Saunier <thibault.saunier@collabora.com>
Thu, 23 May 2013 15:57:42 +0000 (11:57 -0400)
committerThibault Saunier <thibault.saunier@collabora.com>
Tue, 28 May 2013 22:27:31 +0000 (18:27 -0400)
ges/ges-track.c

index 1006387..335c6ce 100644 (file)
@@ -676,6 +676,7 @@ ges_track_set_timeline (GESTrack * track, GESTimeline * timeline)
         G_CALLBACK (timeline_duration_changed_cb), track);
 
   track->priv->timeline = timeline;
+  resort_and_fill_gaps (track);
 }
 
 /**