mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
timeline: Plug leak of the auto transition asset
This commit is contained in:
parent
e31aa62f7b
commit
d04bffc541
1 changed files with 1 additions and 0 deletions
|
@ -712,6 +712,7 @@ ges_timeline_create_transition (GESTimeline * timeline,
|
|||
transition =
|
||||
ges_layer_add_asset (layer, asset, start, 0, duration,
|
||||
ges_track_element_get_track_type (next));
|
||||
g_object_unref (asset);
|
||||
} else {
|
||||
GST_DEBUG_OBJECT (timeline,
|
||||
"Reusing already existing transition: %" GST_PTR_FORMAT, transition);
|
||||
|
|
Loading…
Reference in a new issue