asset: Clear loading error when reload is requested
authorThibault Saunier <thibault.saunier@osg.samsung.com>
Mon, 31 Jul 2017 16:55:53 +0000 (12:55 -0400)
committerThibault Saunier <thibault.saunier@osg.samsung.com>
Mon, 31 Jul 2017 17:03:59 +0000 (13:03 -0400)
ges/ges-asset.c

index e6b142e..e5d2d95 100644 (file)
@@ -1182,6 +1182,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;
   }