uri: match return type of get_uri_type() implementation to declaration

https://bugzilla.gnome.org/show_bug.cgi?id=750292
This commit is contained in:
Tim-Philipp Müller 2015-06-02 20:32:35 +01:00
parent b0c072711d
commit 935ecd85ea

View file

@ -724,11 +724,11 @@ gst_element_make_from_uri (const GstURIType type, const gchar * uri,
* Returns: the #GstURIType of the URI handler. * Returns: the #GstURIType of the URI handler.
* Returns #GST_URI_UNKNOWN if the @handler isn't implemented correctly. * Returns #GST_URI_UNKNOWN if the @handler isn't implemented correctly.
*/ */
guint GstURIType
gst_uri_handler_get_uri_type (GstURIHandler * handler) gst_uri_handler_get_uri_type (GstURIHandler * handler)
{ {
GstURIHandlerInterface *iface; GstURIHandlerInterface *iface;
guint ret; GstURIType ret;
g_return_val_if_fail (GST_IS_URI_HANDLER (handler), GST_URI_UNKNOWN); g_return_val_if_fail (GST_IS_URI_HANDLER (handler), GST_URI_UNKNOWN);