client: remove _get_uri() method
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 26 Jun 2013 14:32:06 +0000 (16:32 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 26 Jun 2013 14:32:06 +0000 (16:32 +0200)
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.

gst/rtsp-server/rtsp-client.c
gst/rtsp-server/rtsp-client.h

index 16a8bc0..7e8d35b 100644 (file)
@@ -2121,33 +2121,6 @@ gst_rtsp_client_get_auth (GstRTSPClient * client)
 }
 
 /**
- * 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
  * @conn: (transfer full): a #GstRTSPConnection
index a6f7cac..a5d32d5 100644 (file)
@@ -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);