summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sf.net>2010-11-01 22:40:36 +0200
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2010-12-31 00:54:05 +0000
commit64beb26a563c95ee80bdb5f256ee7edd5ab42868 (patch)
tree81da7e4b44db94235b0c13ed6d64e86d20b16493
parentd86c6f1956bddddc6e6b8c2aacaa0127f1dceb4b (diff)
inputselector: move reoccuring logs to LOG and remove a double info
Less debug spew in DEBUG category. No need to log pad again if we use GST_LOG_OBJECT(pad,...).
-rw-r--r--plugins/elements/gstinputselector.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/plugins/elements/gstinputselector.c b/plugins/elements/gstinputselector.c
index 395790a887..b63326e2cc 100644
--- a/plugins/elements/gstinputselector.c
+++ b/plugins/elements/gstinputselector.c
@@ -487,7 +487,7 @@ gst_selector_pad_bufferalloc (GstPad * pad, guint64 offset,
sel = GST_INPUT_SELECTOR (gst_pad_get_parent (pad));
selpad = GST_SELECTOR_PAD_CAST (pad);
- GST_DEBUG_OBJECT (pad, "received alloc");
+ GST_LOG_OBJECT (pad, "received alloc");
GST_INPUT_SELECTOR_LOCK (sel);
prev_active_sinkpad = sel->active_sinkpad;
@@ -565,7 +565,7 @@ gst_selector_pad_chain (GstPad * pad, GstBuffer * buf)
if (gst_input_selector_wait (sel, pad))
goto flushing;
- GST_DEBUG_OBJECT (pad, "getting active pad");
+ GST_LOG_OBJECT (pad, "getting active pad");
prev_active_sinkpad = sel->active_sinkpad;
active_sinkpad = gst_input_selector_activate_sinkpad (sel, pad);
@@ -573,10 +573,10 @@ gst_selector_pad_chain (GstPad * pad, GstBuffer * buf)
/* update the segment on the srcpad */
start_time = GST_BUFFER_TIMESTAMP (buf);
if (GST_CLOCK_TIME_IS_VALID (start_time)) {
- GST_DEBUG_OBJECT (pad, "received start time %" GST_TIME_FORMAT,
+ GST_LOG_OBJECT (pad, "received start time %" GST_TIME_FORMAT,
GST_TIME_ARGS (start_time));
if (GST_BUFFER_DURATION_IS_VALID (buf))
- GST_DEBUG_OBJECT (pad, "received end time %" GST_TIME_FORMAT,
+ GST_LOG_OBJECT (pad, "received end time %" GST_TIME_FORMAT,
GST_TIME_ARGS (start_time + GST_BUFFER_DURATION (buf)));
GST_OBJECT_LOCK (pad);
@@ -638,8 +638,7 @@ gst_selector_pad_chain (GstPad * pad, GstBuffer * buf)
}
/* forward */
- GST_DEBUG_OBJECT (pad, "Forwarding buffer %p from pad %s:%s", buf,
- GST_DEBUG_PAD_NAME (pad));
+ GST_LOG_OBJECT (pad, "Forwarding buffer %p", buf);
if ((caps = GST_BUFFER_CAPS (buf))) {
if (GST_PAD_CAPS (sel->srcpad) != caps)