categorize log level

Original commit message from CVS:
categorize log level
This commit is contained in:
Thomas Vander Stichele 2004-01-23 15:45:19 +00:00
parent 54b1820945
commit e628992403

View file

@ -322,7 +322,7 @@ gst_esdsink_chain (GstPad *pad, GstData *_data)
} }
} }
GST_DEBUG ("esdsink: fd=%d data=%p size=%d", GST_LOG ("fd=%d data=%p size=%d",
esdsink->fd, GST_BUFFER_DATA (buf), GST_BUFFER_SIZE (buf)); esdsink->fd, GST_BUFFER_DATA (buf), GST_BUFFER_SIZE (buf));
while (to_write > 0){ while (to_write > 0){
int done; int done;
@ -444,7 +444,7 @@ gst_esdsink_open_audio (GstEsdsink *sink)
return FALSE; return FALSE;
} }
GST_DEBUG ("esdsink: attempting to open connection to esound server"); GST_INFO ("attempting to open connection to esound server");
if(sink->fallback){ if(sink->fallback){
sink->fd = esd_play_stream_fallback(esdformat, sink->frequency, sink->host, connname); sink->fd = esd_play_stream_fallback(esdformat, sink->frequency, sink->host, connname);
}else{ }else{
@ -455,6 +455,7 @@ gst_esdsink_open_audio (GstEsdsink *sink)
("can't open connection to esound server")); ("can't open connection to esound server"));
return FALSE; return FALSE;
} }
GST_INFO ("successfully opened connection to esound server");
return TRUE; return TRUE;
} }
@ -468,7 +469,7 @@ gst_esdsink_close_audio (GstEsdsink *sink)
close(sink->fd); close(sink->fd);
sink->fd = -1; sink->fd = -1;
GST_DEBUG ("esdsink: closed sound device"); GST_INFO ("esdsink: closed sound device");
} }
static GstElementStateReturn static GstElementStateReturn