mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 03:30:35 +00:00
tcp: adjust comment style
This commit is contained in:
parent
0ce33461c8
commit
6a87cb5248
3 changed files with 10 additions and 10 deletions
|
@ -697,9 +697,9 @@ gst_multi_fd_sink_handle_client_write (GstMultiFdSink * sink,
|
|||
if (mhclient->bufpos == -1) {
|
||||
/* client is too fast, remove from write queue until new buffer is
|
||||
* available */
|
||||
// FIXME: specific
|
||||
/* FIXME: specific */
|
||||
gst_poll_fd_ctl_write (sink->fdset, &client->gfd, FALSE);
|
||||
//
|
||||
|
||||
/* if we flushed out all of the client buffers, we can stop */
|
||||
if (mhclient->flushcount == 0)
|
||||
goto flushed;
|
||||
|
@ -722,7 +722,7 @@ gst_multi_fd_sink_handle_client_write (GstMultiFdSink * sink,
|
|||
mhclient->bufpos = position;
|
||||
} else {
|
||||
/* cannot send data to this client yet */
|
||||
// FIXME: specific
|
||||
/* FIXME: specific */
|
||||
gst_poll_fd_ctl_write (sink->fdset, &client->gfd, FALSE);
|
||||
return TRUE;
|
||||
}
|
||||
|
@ -774,7 +774,7 @@ gst_multi_fd_sink_handle_client_write (GstMultiFdSink * sink,
|
|||
data = info.data;
|
||||
maxsize = info.size - mhclient->bufoffset;
|
||||
|
||||
// FIXME: specific
|
||||
/* FIXME: specific */
|
||||
/* try to write the complete buffer */
|
||||
#ifdef MSG_NOSIGNAL
|
||||
#define FLAGS MSG_NOSIGNAL
|
||||
|
|
|
@ -1083,7 +1083,7 @@ gst_multi_output_sink_remove_client_link (GstMultiOutputSink * sink,
|
|||
break;
|
||||
}
|
||||
|
||||
// FIXME: convert to vfunc to cleanup a client
|
||||
/* FIXME: convert to vfunc to cleanup a client */
|
||||
|
||||
fclass->delete_client (sink, client);
|
||||
|
||||
|
|
|
@ -656,13 +656,13 @@ gst_multi_socket_sink_handle_client_write (GstMultiSocketSink * sink,
|
|||
if (mhclient->bufpos == -1) {
|
||||
/* client is too fast, remove from write queue until new buffer is
|
||||
* available */
|
||||
// FIXME: specific
|
||||
/* FIXME: specific */
|
||||
if (client->source) {
|
||||
g_source_destroy (client->source);
|
||||
g_source_unref (client->source);
|
||||
client->source = NULL;
|
||||
}
|
||||
//
|
||||
|
||||
/* if we flushed out all of the client buffers, we can stop */
|
||||
if (mhclient->flushcount == 0)
|
||||
goto flushed;
|
||||
|
@ -685,13 +685,13 @@ gst_multi_socket_sink_handle_client_write (GstMultiSocketSink * sink,
|
|||
mhclient->bufpos = position;
|
||||
} else {
|
||||
/* cannot send data to this client yet */
|
||||
// FIXME: specific
|
||||
/* FIXME: specific */
|
||||
if (client->source) {
|
||||
g_source_destroy (client->source);
|
||||
g_source_unref (client->source);
|
||||
client->source = NULL;
|
||||
}
|
||||
//
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
|
@ -738,7 +738,7 @@ gst_multi_socket_sink_handle_client_write (GstMultiSocketSink * sink,
|
|||
gst_buffer_map (head, &map, GST_MAP_READ);
|
||||
maxsize = map.size - mhclient->bufoffset;
|
||||
|
||||
// FIXME: specific
|
||||
/* FIXME: specific */
|
||||
/* try to write the complete buffer */
|
||||
|
||||
wrote =
|
||||
|
|
Loading…
Reference in a new issue