summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruid45177 <none@none>2002-07-05 22:34:02 +0000
committeruid45177 <none@none>2002-07-05 22:34:02 +0000
commitbd39d799be9fcc823bf6a84aa62d022e058a3e9c (patch)
treee284a1ecb62928150c02920e0548f199cd002be2
parent3a256761cca323d807031a52f5d17164326908dc (diff)
downloadxine-lib-bd39d799be9fcc823bf6a84aa62d022e058a3e9c.tar.gz
xine-lib-bd39d799be9fcc823bf6a84aa62d022e058a3e9c.tar.bz2
disable some debug messages (patch by Claire Griffin <claire@comedia.com>)
CVS patchset: 2220 CVS date: 2002/07/05 22:34:02
-rw-r--r--src/input/net_buf_ctrl.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/input/net_buf_ctrl.c b/src/input/net_buf_ctrl.c
index 49c41b296..8f1a503bb 100644
--- a/src/input/net_buf_ctrl.c
+++ b/src/input/net_buf_ctrl.c
@@ -32,7 +32,9 @@
#define DEFAULT_LOW_WATER_MARK 2
#define DEFAULT_HIGH_WATER_MARK 5
-
+/*
+#define LOG
+*/
struct nbc_s {
xine_t *xine;
@@ -51,12 +53,12 @@ void nbc_check_buffers (nbc_t *this) {
if (this->xine->audio_fifo) {
fifo_fill += 8*this->xine->audio_fifo->size(this->xine->audio_fifo);
}
-
+#ifdef LOG
if (this->buffering) {
xine_log (this->xine, XINE_LOG_MSG,
"net_buf_ctl: buffering (%d/%d)...\n", fifo_fill, this->high_water_mark);
}
-
+#endif
if (fifo_fill<this->low_water_mark) {
if (!this->buffering) {