mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 11:10:37 +00:00
asset: Avoid unrefing a task we do not own
This commit is contained in:
parent
056198b15e
commit
b09ed0d0c3
1 changed files with 1 additions and 0 deletions
|
@ -1182,6 +1182,7 @@ ges_asset_request_async (GType extractable_type,
|
|||
case ASSET_NEEDS_RELOAD:
|
||||
GST_DEBUG_OBJECT (asset, "Asset in cache and needs reload");
|
||||
ges_asset_cache_append_task (extractable_type, real_id, task);
|
||||
task = NULL;
|
||||
GES_ASSET_GET_CLASS (asset)->start_loading (asset, &error);
|
||||
|
||||
goto done;
|
||||
|
|
Loading…
Reference in a new issue