client: rename method
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 12 Nov 2012 13:30:43 +0000 (14:30 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 12 Nov 2012 14:01:13 +0000 (15:01 +0100)
gst_rtsp_client_create_from_socket -> gst_rtsp_client_use_socket: we
don't really create the client from the socket, we use the socket for the
client.

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

index bcf8b89..38fffb8 100644 (file)
@@ -2132,7 +2132,7 @@ no_address:
 }
 
 /**
- * gst_rtsp_client_create_from_socket:
+ * gst_rtsp_client_use_socket:
  * @client: a #GstRTSPClient
  * @socket: a #GSocket
  * @ip: the IP address of the remote client
index 80c6dc8..71a28ad 100644 (file)
@@ -155,7 +155,7 @@ gboolean              gst_rtsp_client_accept            (GstRTSPClient *client,
                                                          GCancellable *cancellable,
                                                          GError **error);
 
-gboolean              gst_rtsp_client_create_from_socket(GstRTSPClient * client,
+gboolean              gst_rtsp_client_use_socket        (GstRTSPClient * client,
                                                          GSocket *socket,
                                                          const gchar * ip,
                                                          gint port,