mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-03 04:52:28 +00:00
client: remove _get_uri() method
Remove the get_uri() method on the client. A client has no uri, the uri property is an internal property to manage the last cached media for the client.
This commit is contained in:
parent
13ab4905e4
commit
27a786aa4a
2 changed files with 0 additions and 29 deletions
|
@ -2120,33 +2120,6 @@ gst_rtsp_client_get_auth (GstRTSPClient * client)
|
|||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* gst_rtsp_client_get_uri:
|
||||
* @client: a #GstRTSPClient
|
||||
*
|
||||
* Get the #GstRTSPUrl of @client.
|
||||
*
|
||||
* Returns: (transfer full): the #GstRTSPUrl of @client. Free with
|
||||
* gst_rtsp_url_free () after usage.
|
||||
*/
|
||||
GstRTSPUrl *
|
||||
gst_rtsp_client_get_uri (GstRTSPClient * client)
|
||||
{
|
||||
GstRTSPClientPrivate *priv;
|
||||
GstRTSPUrl *result = NULL;
|
||||
|
||||
g_return_val_if_fail (GST_IS_RTSP_CLIENT (client), NULL);
|
||||
|
||||
priv = client->priv;
|
||||
|
||||
g_mutex_lock (&priv->lock);
|
||||
if (priv->uri != NULL)
|
||||
result = gst_rtsp_url_copy (priv->uri);
|
||||
g_mutex_unlock (&priv->lock);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* gst_rtsp_client_set_connection:
|
||||
* @client: a #GstRTSPClient
|
||||
|
|
|
@ -151,8 +151,6 @@ gboolean gst_rtsp_client_get_use_client_settings (GstRTSPClient * c
|
|||
void gst_rtsp_client_set_auth (GstRTSPClient *client, GstRTSPAuth *auth);
|
||||
GstRTSPAuth * gst_rtsp_client_get_auth (GstRTSPClient *client);
|
||||
|
||||
GstRTSPUrl * gst_rtsp_client_get_uri (GstRTSPClient *client);
|
||||
|
||||
gboolean gst_rtsp_client_set_connection (GstRTSPClient *client, GstRTSPConnection *conn);
|
||||
GstRTSPConnection * gst_rtsp_client_get_connection (GstRTSPClient *client);
|
||||
|
||||
|
|
Loading…
Reference in a new issue