debug disable fixes

Original commit message from CVS:
debug disable fixes
This commit is contained in:
Thomas Vander Stichele 2005-06-30 12:26:26 +00:00
parent 4dd878f93b
commit 4507397788
2 changed files with 8 additions and 2 deletions

View file

@ -764,11 +764,14 @@ out_flushing:
static gboolean
gst_queue_handle_src_event (GstPad * pad, GstEvent * event)
{
GstQueue *queue = GST_QUEUE (GST_PAD_PARENT (pad));
gboolean res = TRUE;
#ifndef GST_DISABLE_DEBUG
GstQueue *queue = GST_QUEUE (GST_PAD_PARENT (pad));
GST_CAT_DEBUG_OBJECT (queue_dataflow, queue, "got event %p (%d)",
event, GST_EVENT_TYPE (event));
#endif
res = gst_pad_event_default (pad, event);

View file

@ -764,11 +764,14 @@ out_flushing:
static gboolean
gst_queue_handle_src_event (GstPad * pad, GstEvent * event)
{
GstQueue *queue = GST_QUEUE (GST_PAD_PARENT (pad));
gboolean res = TRUE;
#ifndef GST_DISABLE_DEBUG
GstQueue *queue = GST_QUEUE (GST_PAD_PARENT (pad));
GST_CAT_DEBUG_OBJECT (queue_dataflow, queue, "got event %p (%d)",
event, GST_EVENT_TYPE (event));
#endif
res = gst_pad_event_default (pad, event);