From 89f8aec72ecdaa8783bd024affa243995ce7c6c1 Mon Sep 17 00:00:00 2001 From: Steve Baker Date: Sat, 8 Jun 2002 16:15:02 +0000 Subject: [PATCH] g_print bad Original commit message from CVS: g_print bad --- gst/gstqueue.c | 4 ++-- plugins/elements/gstqueue.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gst/gstqueue.c b/gst/gstqueue.c index c54037f..0799016 100644 --- a/gst/gstqueue.c +++ b/gst/gstqueue.c @@ -305,9 +305,9 @@ gst_queue_chain (GstPad *pad, GstBuffer *buf) g_async_queue_lock(queue->events); while (g_async_queue_length_unlocked(queue->events) > 0){ GstEvent *event = (GstEvent*)g_async_queue_pop_unlocked(queue->events); - g_print("sending event upstream\n"); + GST_DEBUG_ELEMENT (GST_CAT_DATAFLOW, queue, "sending event upstream\n"); gst_pad_event_default (pad, event); - g_print("event sent\n"); + GST_DEBUG_ELEMENT (GST_CAT_DATAFLOW, queue, "event sent\n"); } g_async_queue_unlock(queue->events); diff --git a/plugins/elements/gstqueue.c b/plugins/elements/gstqueue.c index c54037f..0799016 100644 --- a/plugins/elements/gstqueue.c +++ b/plugins/elements/gstqueue.c @@ -305,9 +305,9 @@ gst_queue_chain (GstPad *pad, GstBuffer *buf) g_async_queue_lock(queue->events); while (g_async_queue_length_unlocked(queue->events) > 0){ GstEvent *event = (GstEvent*)g_async_queue_pop_unlocked(queue->events); - g_print("sending event upstream\n"); + GST_DEBUG_ELEMENT (GST_CAT_DATAFLOW, queue, "sending event upstream\n"); gst_pad_event_default (pad, event); - g_print("event sent\n"); + GST_DEBUG_ELEMENT (GST_CAT_DATAFLOW, queue, "event sent\n"); } g_async_queue_unlock(queue->events); -- 2.7.4