mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
don't add the same track object twice
This commit is contained in:
parent
e6b24d8749
commit
420badca90
1 changed files with 0 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue