From f303eef9bb41bf87039042aa2e96cb607a7eac4a Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Sat, 31 Jan 2009 19:50:33 +0100 Subject: [PATCH] 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. --- gst/rtsp-server/rtsp-client.c | 2 +- gst/rtsp-server/rtsp-media-factory.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/rtsp-server/rtsp-client.c b/gst/rtsp-server/rtsp-client.c index 610428a1a7..465b2ec624 100644 --- a/gst/rtsp-server/rtsp-client.c +++ b/gst/rtsp-server/rtsp-client.c @@ -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; diff --git a/gst/rtsp-server/rtsp-media-factory.c b/gst/rtsp-server/rtsp-media-factory.c index 84ac2fe5fb..02614e65de 100644 --- a/gst/rtsp-server/rtsp-media-factory.c +++ b/gst/rtsp-server/rtsp-media-factory.c @@ -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; }