From c431592976acd62ea8931437fd9bd588b6789366 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 12 Nov 2012 14:30:43 +0100 Subject: [PATCH] client: rename method 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 | 2 +- gst/rtsp-server/rtsp-client.h | 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 bcf8b89..38fffb8 100644 --- a/gst/rtsp-server/rtsp-client.c +++ b/gst/rtsp-server/rtsp-client.c @@ -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 diff --git a/gst/rtsp-server/rtsp-client.h b/gst/rtsp-server/rtsp-client.h index 80c6dc8..71a28ad 100644 --- a/gst/rtsp-server/rtsp-client.h +++ b/gst/rtsp-server/rtsp-client.h @@ -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, -- 2.7.4