mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05: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;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* handle a write on a client,
|
/* Handle a write on a client,
|
||||||
* which indicates a read request from a client.
|
* which indicates a read request from a client.
|
||||||
*
|
*
|
||||||
* The strategy is as follows, for each client we maintain a queue of GstBuffers
|
* For each client we maintain a queue of GstBuffers that contain the raw bytes
|
||||||
* that contain the raw bytes we need to send to the client. In the case of the
|
* we need to send to the client. In the case of the GDP protocol, we create
|
||||||
* GDP protocol, we create buffers out of the header bytes so that we can only
|
* buffers out of the header bytes so that we can focus only on sending
|
||||||
* focus on sending buffers.
|
* buffers.
|
||||||
*
|
*
|
||||||
* We first check to see if we need to send caps (in GDP) and streamheaders.
|
* We first check to see if we need to send caps (in GDP) and streamheaders.
|
||||||
* If so, we queue them.
|
* If so, we queue them.
|
||||||
|
@ -1086,7 +1086,7 @@ done:
|
||||||
* possible. It will first exhaust the client->sending queue and if the queue
|
* possible. It will first exhaust the client->sending queue and if the queue
|
||||||
* is empty, it will pick a buffer from the global 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
|
* 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
|
* 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.
|
* 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.
|
/* Queue a buffer on the global queue.
|
||||||
*
|
*
|
||||||
* This functions adds the buffer to the front of a GArray. It removes the
|
* 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 buffer that
|
* tail buffer if the max queue size is exceeded, unreffing the queued buffer.
|
||||||
* is queued. Note that unreffing the buffer is not a problem as clients who
|
* 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
|
* started writing out this buffer will still have a reference to it in the
|
||||||
* client->sending queue.
|
* client->sending queue.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue