discoverer: fix discover_uri returning finalized info object

This commit is contained in:
René Stadler 2012-07-31 01:19:36 +02:00
parent 063dc1712e
commit 39aa4dc674

View file

@ -1178,6 +1178,7 @@ discoverer_collect (GstDiscoverer * dc)
dc->priv->current_info, dc->priv->current_error);
/* Clients get a copy of current_info since it is a boxed type */
gst_discoverer_info_unref (dc->priv->current_info);
dc->priv->current_info = NULL;
}
}