summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibault Saunier <thibault.saunier@osg.samsung.com>2017-07-31 12:55:53 -0400
committerThibault Saunier <thibault.saunier@osg.samsung.com>2017-08-08 09:26:31 -0400
commite767ba4edb19723e049bfc47e303c8ec0956b141 (patch)
tree7eeeb676c0ae3f2f81e35d46211b439909bdeafe
parentbc108728c33101235e470c3a400032b967d5fc0c (diff)
asset: Clear loading error when reload is requested
-rw-r--r--ges/ges-asset.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ges/ges-asset.c b/ges/ges-asset.c
index 60fde65b..d617c314 100644
--- a/ges/ges-asset.c
+++ b/ges/ges-asset.c
@@ -1157,6 +1157,7 @@ ges_asset_needs_reload (GType extractable_type, const gchar * id)
"Asset with id %s switch state to ASSET_NEEDS_RELOAD",
ges_asset_get_id (asset));
asset->priv->state = ASSET_NEEDS_RELOAD;
+ g_clear_error (&asset->priv->error);
return TRUE;
}