gst/schedulers/faircothreads.c: Fix build without debug enabled.

Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/schedulers/faircothreads.c:
(gst_fair_scheduler_cothread_queue_show):
Fix build without debug enabled.
This commit is contained in:
Ronald S. Bultje 2005-01-27 10:00:00 +00:00
parent d0b8df6677
commit a410bdd96f
2 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,11 @@
2005-01-27 Stephane Wirtel <stephane.wirtel@belgacom.net>
Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* gst/schedulers/faircothreads.c:
(gst_fair_scheduler_cothread_queue_show):
Fix build without debug enabled.
2005-01-26 Stefan Kost <ensonic@users.sf.net> 2005-01-26 Stefan Kost <ensonic@users.sf.net>
* docs/gst/gstreamer-sections.txt: * docs/gst/gstreamer-sections.txt:

View file

@ -355,8 +355,9 @@ gst_fair_scheduler_cothread_queue_show (GstFairSchedulerCothreadQueue * queue)
for (iter = queue->ct_queue->tail; iter != NULL; iter = iter->prev) { for (iter = queue->ct_queue->tail; iter != NULL; iter = iter->prev) {
ct = (GstFairSchedulerCothread *) iter->data; ct = (GstFairSchedulerCothread *) iter->data;
#ifndef GST_DISABLE_GST_DEBUG
g_print (" %p: %s (%d)\n", ct, ct->readable_name->str, ct->pid); g_print (" %p: %s (%d)\n", ct, ct->readable_name->str, ct->pid);
#endif
} }
} }