mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-15 22:01:27 +00:00
uri: Add some debug statements
This commit is contained in:
parent
3cecb9f8c3
commit
07a888f174
1 changed files with 3 additions and 0 deletions
|
@ -578,6 +578,8 @@ gst_element_make_from_uri (const GstURIType type, const gchar * uri,
|
|||
g_return_val_if_fail (GST_URI_TYPE_IS_VALID (type), NULL);
|
||||
g_return_val_if_fail (gst_uri_is_valid (uri), NULL);
|
||||
|
||||
GST_DEBUG ("type:%d, uri:%s, elementname:%s", type, uri, elementname);
|
||||
|
||||
protocol = gst_uri_get_protocol (uri);
|
||||
possibilities = get_element_factories_from_uri_protocol (type, protocol);
|
||||
g_free (protocol);
|
||||
|
@ -598,6 +600,7 @@ gst_element_make_from_uri (const GstURIType type, const gchar * uri,
|
|||
|
||||
if (gst_uri_handler_set_uri (handler, uri, NULL))
|
||||
break;
|
||||
GST_WARNING ("element %s didn't accept the URI", GST_ELEMENT_NAME (ret));
|
||||
gst_object_unref (ret);
|
||||
ret = NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue