Drop const from GstRTSPUrl stuff because the .h files in gst-plugins-base don't
have the right const in them.
* but is cached for when the same client (without breaking the connection) is
* doing a setup for the exact same url. */
static GstRTSPMedia *
-find_media (GstRTSPClient *client, const GstRTSPUrl *uri, GstRTSPMessage *request)
+find_media (GstRTSPClient *client, GstRTSPUrl *uri, GstRTSPMessage *request)
{
GstRTSPMediaFactory *factory;
GstRTSPMedia *media;
{
gchar *result;
- result = gst_rtsp_url_get_request_uri (url);
+ result = gst_rtsp_url_get_request_uri ((GstRTSPUrl *)url);
return result;
}