don't add the same track object twice

This commit is contained in:
Brandon Lewis 2010-07-13 18:12:34 +02:00 committed by Edward Hervey
parent e6b24d8749
commit 420badca90

View file

@ -137,10 +137,6 @@ ges_timeline_source_create_track_objects (GESTimelineObject * obj,
return FALSE;
}
if (!ges_timeline_object_add_track_object (obj, overlay)) {
ges_timeline_object_release_track_object (obj, overlay);
}
ges_track_text_overlay_set_text ((GESTrackTextOverlay *) overlay,
"test overlays in timeline sources");
success = ges_track_add_object (track, overlay);