* Returns NULL if there are no URI currently handled. The
* returned string must not be modified or freed.
*/
-const gchar *
+gchar *
gst_uri_handler_get_uri (GstURIHandler * handler)
{
GstURIHandlerInterface *iface;
- const gchar *ret;
+ gchar *ret;
g_return_val_if_fail (GST_IS_URI_HANDLER (handler), NULL);
gchar ** (* get_protocols) (GType type);
/* using the interface */
- const gchar * (* get_uri) (GstURIHandler * handler);
+ gchar * (* get_uri) (GstURIHandler * handler);
gboolean (* set_uri) (GstURIHandler * handler,
const gchar * uri);
};
guint gst_uri_handler_get_uri_type (GstURIHandler * handler);
gchar ** gst_uri_handler_get_protocols (GstURIHandler * handler);
-const gchar * gst_uri_handler_get_uri (GstURIHandler * handler);
+gchar * gst_uri_handler_get_uri (GstURIHandler * handler);
gboolean gst_uri_handler_set_uri (GstURIHandler * handler,
const gchar * uri);