mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
whitespace fixes
Original commit message from CVS: whitespace fixes
This commit is contained in:
parent
f96d80accc
commit
125159cb2f
2 changed files with 17 additions and 17 deletions
|
@ -1071,13 +1071,13 @@ done:
|
|||
return result;
|
||||
}
|
||||
|
||||
/* handle a write on a client,
|
||||
/* Handle a write on a client,
|
||||
* which indicates a read request from a client.
|
||||
*
|
||||
* The strategy is as follows, for each client we maintain a queue of GstBuffers
|
||||
* that contain the raw bytes we need to send to the client. In the case of the
|
||||
* GDP protocol, we create buffers out of the header bytes so that we can only
|
||||
* focus on sending buffers.
|
||||
* For each client we maintain a queue of GstBuffers that contain the raw bytes
|
||||
* we need to send to the client. In the case of the GDP protocol, we create
|
||||
* buffers out of the header bytes so that we can focus only on sending
|
||||
* buffers.
|
||||
*
|
||||
* We first check to see if we need to send caps (in GDP) and streamheaders.
|
||||
* If so, we queue them.
|
||||
|
@ -1086,7 +1086,7 @@ done:
|
|||
* possible. It will first exhaust the client->sending queue and if the queue
|
||||
* is empty, it will pick a buffer from the global queue.
|
||||
*
|
||||
* Sending the Buffers from the client->sending queue is basically writing
|
||||
* Sending the buffers from the client->sending queue is basically writing
|
||||
* the bytes to the socket and maintaining a count of the bytes that were
|
||||
* sent. When the buffer is completely sent, it is removed from the
|
||||
* client->sending queue and we try to pick a new buffer for sending.
|
||||
|
@ -1326,9 +1326,9 @@ gst_multi_fd_sink_recover_client (GstMultiFdSink * sink, GstTCPClient * client)
|
|||
|
||||
/* Queue a buffer on the global queue.
|
||||
*
|
||||
* This functions adds the buffer to the front of a GArray. It removes the
|
||||
* tail buffer if the max queue size is exceeded. Unreffing the buffer that
|
||||
* is queued. Note that unreffing the buffer is not a problem as clients who
|
||||
* This function adds the buffer to the front of a GArray. It removes the
|
||||
* tail buffer if the max queue size is exceeded, unreffing the queued buffer.
|
||||
* Note that unreffing the buffer is not a problem as clients who
|
||||
* started writing out this buffer will still have a reference to it in the
|
||||
* client->sending queue.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue