mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
fix debug levels
Original commit message from CVS: fix debug levels
This commit is contained in:
parent
d01cd571b2
commit
6141dbe95f
1 changed files with 6 additions and 6 deletions
|
@ -850,7 +850,7 @@ gst_multifdsink_handle_client_write (GstMultiFdSink * sink,
|
||||||
/* nothing serious, resource was unavailable, try again later */
|
/* nothing serious, resource was unavailable, try again later */
|
||||||
more = FALSE;
|
more = FALSE;
|
||||||
} else {
|
} else {
|
||||||
GST_DEBUG_OBJECT (sink, "could not write, removing client on fd %d",
|
GST_WARNING_OBJECT (sink, "could not write, removing client on fd %d",
|
||||||
fd);
|
fd);
|
||||||
client->status = GST_CLIENT_STATUS_ERROR;
|
client->status = GST_CLIENT_STATUS_ERROR;
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
@ -1101,30 +1101,30 @@ gst_multifdsink_handle_clients (GstMultiFdSink * sink)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
GST_INFO_OBJECT (sink, "wait done: %d", result);
|
GST_LOG_OBJECT (sink, "wait done: %d", result);
|
||||||
/* read all commands */
|
/* read all commands */
|
||||||
if (gst_fdset_fd_can_read (sink->fdset, &READ_SOCKET (sink))) {
|
if (gst_fdset_fd_can_read (sink->fdset, &READ_SOCKET (sink))) {
|
||||||
GST_INFO_OBJECT (sink, "have a command");
|
GST_LOG_OBJECT (sink, "have a command");
|
||||||
while (TRUE) {
|
while (TRUE) {
|
||||||
gchar command;
|
gchar command;
|
||||||
int res;
|
int res;
|
||||||
|
|
||||||
READ_COMMAND (sink, command, res);
|
READ_COMMAND (sink, command, res);
|
||||||
if (res < 0) {
|
if (res < 0) {
|
||||||
GST_INFO_OBJECT (sink, "no more commands");
|
GST_LOG_OBJECT (sink, "no more commands");
|
||||||
/* no more commands */
|
/* no more commands */
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (command) {
|
switch (command) {
|
||||||
case CONTROL_RESTART:
|
case CONTROL_RESTART:
|
||||||
GST_INFO_OBJECT (sink, "restart");
|
GST_LOG_OBJECT (sink, "restart");
|
||||||
/* need to restart the select call as the fd_set changed */
|
/* need to restart the select call as the fd_set changed */
|
||||||
try_again = TRUE;
|
try_again = TRUE;
|
||||||
break;
|
break;
|
||||||
/* need to restart the select call as the fd_set changed */
|
/* need to restart the select call as the fd_set changed */
|
||||||
case CONTROL_STOP:
|
case CONTROL_STOP:
|
||||||
GST_INFO_OBJECT (sink, "stop");
|
GST_LOG_OBJECT (sink, "stop");
|
||||||
/* stop this function */
|
/* stop this function */
|
||||||
stop = TRUE;
|
stop = TRUE;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue