mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-06 10:42:22 +00:00
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:
parent
ae2521096a
commit
f303eef9bb
2 changed files with 2 additions and 2 deletions
|
@ -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
|
* but is cached for when the same client (without breaking the connection) is
|
||||||
* doing a setup for the exact same url. */
|
* doing a setup for the exact same url. */
|
||||||
static GstRTSPMedia *
|
static GstRTSPMedia *
|
||||||
find_media (GstRTSPClient *client, const GstRTSPUrl *uri, GstRTSPMessage *request)
|
find_media (GstRTSPClient *client, GstRTSPUrl *uri, GstRTSPMessage *request)
|
||||||
{
|
{
|
||||||
GstRTSPMediaFactory *factory;
|
GstRTSPMediaFactory *factory;
|
||||||
GstRTSPMedia *media;
|
GstRTSPMedia *media;
|
||||||
|
|
|
@ -327,7 +327,7 @@ default_gen_key (GstRTSPMediaFactory *factory, const GstRTSPUrl *url)
|
||||||
{
|
{
|
||||||
gchar *result;
|
gchar *result;
|
||||||
|
|
||||||
result = gst_rtsp_url_get_request_uri (url);
|
result = gst_rtsp_url_get_request_uri ((GstRTSPUrl *)url);
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue