projects
/
platform
/
upstream
/
gst-editing-services.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e31aa62
)
timeline: Plug leak of the auto transition asset
author
Thibault Saunier
<tsaunier@igalia.com>
Mon, 8 Apr 2019 20:25:59 +0000
(16:25 -0400)
committer
Thibault Saunier
<tsaunier@igalia.com>
Mon, 15 Apr 2019 21:11:48 +0000
(17:11 -0400)
ges/ges-timeline.c
patch
|
blob
|
history
diff --git
a/ges/ges-timeline.c
b/ges/ges-timeline.c
index
125da3f
..
78760b9
100644
(file)
--- a/
ges/ges-timeline.c
+++ b/
ges/ges-timeline.c
@@
-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);