Drop const from functions dealing with urls

Drop const from GstRTSPUrl stuff because the .h files in gst-plugins-base don't
have the right const in them.
This commit is contained in:
Wim Taymans 2009-01-31 19:50:33 +01:00 committed by Wim Taymans
parent ae2521096a
commit f303eef9bb
2 changed files with 2 additions and 2 deletions

View file

@ -117,7 +117,7 @@ compare_uri (const GstRTSPUrl *uri1, const GstRTSPUrl *uri2)
* 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;

View file

@ -327,7 +327,7 @@ default_gen_key (GstRTSPMediaFactory *factory, const GstRTSPUrl *url)
{
gchar *result;
result = gst_rtsp_url_get_request_uri (url);
result = gst_rtsp_url_get_request_uri ((GstRTSPUrl *)url);
return result;
}