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.
This commit is contained in:
Wim Taymans 2012-11-12 14:30:43 +01:00
parent a58d404e1f
commit c431592976
2 changed files with 2 additions and 2 deletions

View 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

View 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,