projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d8be79
)
asset: Do not take an extra ref on asset when already initialized
author
Thibault Saunier
<tsaunier@igalia.com>
Mon, 15 Apr 2019 21:03:49 +0000
(17:03 -0400)
committer
Thibault Saunier
<tsaunier@igalia.com>
Mon, 15 Apr 2019 21:11:48 +0000
(17:11 -0400)
The task already has a ref so this one doesn't make sense and leads to leaks
ges/ges-asset.c
patch
|
blob
|
history
diff --git
a/ges/ges-asset.c
b/ges/ges-asset.c
index
ad06eff
..
3052dee
100644
(file)
--- a/
ges/ges-asset.c
+++ b/
ges/ges-asset.c
@@
-1152,8
+1152,6
@@
ges_asset_request_async (GType extractable_type,
while (TRUE) {
switch (asset->priv->state) {
case ASSET_INITIALIZED:
- gst_object_ref (asset);
-
GST_DEBUG_OBJECT (asset, "Asset in cache and initialized, "
"using it");