mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-21 05:26:23 +00:00
add some debug
Original commit message from CVS: add some debug
This commit is contained in:
parent
c112dd0850
commit
a9f5d2e967
1 changed files with 3 additions and 1 deletions
|
@ -1291,6 +1291,7 @@ gst_multifdsink_handle_clients (GstMultiFdSink * sink)
|
||||||
* - server socket input (ie, new client connections)
|
* - server socket input (ie, new client connections)
|
||||||
* - client socket input (ie, clients saying goodbye)
|
* - client socket input (ie, clients saying goodbye)
|
||||||
* - client socket output (ie, client reads) */
|
* - client socket output (ie, client reads) */
|
||||||
|
GST_LOG_OBJECT (sink, "waiting on action on fdset");
|
||||||
result = gst_fdset_wait (sink->fdset, -1);
|
result = gst_fdset_wait (sink->fdset, -1);
|
||||||
|
|
||||||
/* < 0 is an error, 0 just means a timeout happened, which is impossible */
|
/* < 0 is an error, 0 just means a timeout happened, which is impossible */
|
||||||
|
@ -1401,6 +1402,7 @@ gst_multifdsink_handle_clients (GstMultiFdSink * sink)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (gst_fdset_fd_has_error (sink->fdset, &client->fd)) {
|
if (gst_fdset_fd_has_error (sink->fdset, &client->fd)) {
|
||||||
|
GST_WARNING_OBJECT (sink, "gst_fdset_fd_has_error for %d", client->fd);
|
||||||
client->status = GST_CLIENT_STATUS_ERROR;
|
client->status = GST_CLIENT_STATUS_ERROR;
|
||||||
gst_multifdsink_remove_client_link (sink, clients);
|
gst_multifdsink_remove_client_link (sink, clients);
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue