mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
client: fix docs
This commit is contained in:
parent
ed66f974dd
commit
f305020636
1 changed files with 5 additions and 5 deletions
|
@ -824,7 +824,7 @@ handle_blocksize (GstRTSPMedia * media, GstRTSPMessage * request)
|
||||||
gboolean ret = TRUE;
|
gboolean ret = TRUE;
|
||||||
|
|
||||||
if (gst_rtsp_message_get_header (request, GST_RTSP_HDR_BLOCKSIZE,
|
if (gst_rtsp_message_get_header (request, GST_RTSP_HDR_BLOCKSIZE,
|
||||||
&blocksize_str, 0) == GST_RTSP_OK) {
|
&blocksize_str, 0) == GST_RTSP_OK) {
|
||||||
guint64 blocksize;
|
guint64 blocksize;
|
||||||
gchar *end;
|
gchar *end;
|
||||||
|
|
||||||
|
@ -835,7 +835,7 @@ handle_blocksize (GstRTSPMedia * media, GstRTSPMessage * request)
|
||||||
} else {
|
} else {
|
||||||
if (blocksize > G_MAXUINT)
|
if (blocksize > G_MAXUINT)
|
||||||
blocksize = G_MAXUINT;
|
blocksize = G_MAXUINT;
|
||||||
gst_rtsp_media_handle_mtu (media, (guint)blocksize);
|
gst_rtsp_media_handle_mtu (media, (guint) blocksize);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1906,7 +1906,7 @@ client_watch_notify (GstRTSPClient * client)
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
attach_client (GstRTSPClient * client, GSocket * socket,
|
attach_client (GstRTSPClient * client, GSocket * socket,
|
||||||
GstRTSPConnection *conn, GError ** error)
|
GstRTSPConnection * conn, GError ** error)
|
||||||
{
|
{
|
||||||
GSocket *read_socket;
|
GSocket *read_socket;
|
||||||
GSocketAddress *addres;
|
GSocketAddress *addres;
|
||||||
|
@ -2001,7 +2001,7 @@ gst_rtsp_client_create_from_socket (GstRTSPClient * client, GSocket * socket,
|
||||||
GstRTSPResult res;
|
GstRTSPResult res;
|
||||||
|
|
||||||
GST_RTSP_CHECK (gst_rtsp_connection_create_from_socket (socket, ip, port,
|
GST_RTSP_CHECK (gst_rtsp_connection_create_from_socket (socket, ip, port,
|
||||||
initial_buffer, &conn), no_connection);
|
initial_buffer, &conn), no_connection);
|
||||||
|
|
||||||
return attach_client (client, socket, conn, error);
|
return attach_client (client, socket, conn, error);
|
||||||
|
|
||||||
|
@ -2017,7 +2017,7 @@ no_connection:
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gst_rtsp_client_attach:
|
* gst_rtsp_client_accept:
|
||||||
* @client: a #GstRTSPClient
|
* @client: a #GstRTSPClient
|
||||||
* @socket: a #GSocket
|
* @socket: a #GSocket
|
||||||
* @cancellable: a #GCancellable
|
* @cancellable: a #GCancellable
|
||||||
|
|
Loading…
Reference in a new issue