Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Seungha Yang
gst-plugins-base
Commits
6a87cb52
Commit
6a87cb52
authored
Sep 10, 2012
by
Mark Nauwelaerts
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tcp: adjust comment style
parent
0ce33461
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
gst/tcp/gstmultifdsink.c
gst/tcp/gstmultifdsink.c
+4
-4
gst/tcp/gstmultioutputsink.c
gst/tcp/gstmultioutputsink.c
+1
-1
gst/tcp/gstmultisocketsink.c
gst/tcp/gstmultisocketsink.c
+5
-5
No files found.
gst/tcp/gstmultifdsink.c
View file @
6a87cb52
...
...
@@ -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
...
...
gst/tcp/gstmultioutputsink.c
View file @
6a87cb52
...
...
@@ -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
);
...
...
gst/tcp/gstmultisocketsink.c
View file @
6a87cb52
...
...
@@ -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
=
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment