Commit fd7724b6 authored by Vineeth TM's avatar Vineeth TM Committed by Sebastian Dröge
Browse files

pbutils: discoverer: Set GError when NULL info is being returned.

When discovering the URI, if info is NULL, then instead of just returning NULL,
set the GError, so the error can be printed and notified.
parent 6ee8b22c
......@@ -2107,6 +2107,9 @@ gst_discoverer_discover_uri (GstDiscoverer * discoverer, const gchar * uri,
if (G_UNLIKELY (discoverer->priv->current_info)) {
DISCO_UNLOCK (discoverer);
GST_WARNING_OBJECT (discoverer, "Already handling a uri");
if (err)
"Already handling a uri");
return NULL;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment