summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-11-09 11:47:15 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2010-12-31 00:54:04 +0000
commit8b2d4ad8a384409c0ca660a4c4a77f468ae7299e (patch)
tree7c14e0b58d25f0e854996c5d8d2d73fa4e0b3fa2
parent9515cbcd082970791fd1caf09254c178ee75e95a (diff)
inputselector: Improve debugging
Merged from gst-plugins-base.
-rw-r--r--plugins/elements/gstinputselector.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/elements/gstinputselector.c b/plugins/elements/gstinputselector.c
index 8d6a416462..3fa22b0fb9 100644
--- a/plugins/elements/gstinputselector.c
+++ b/plugins/elements/gstinputselector.c
@@ -579,6 +579,8 @@ gst_selector_pad_chain (GstPad * pad, GstBuffer * buf)
/* update the segment on the srcpad */
end_time = GST_BUFFER_TIMESTAMP (buf);
if (GST_CLOCK_TIME_IS_VALID (end_time)) {
+ GST_DEBUG_OBJECT (pad, "received start time %" GST_TIME_FORMAT,
+ GST_TIME_ARGS (end_time));
duration = GST_BUFFER_DURATION (buf);
if (GST_CLOCK_TIME_IS_VALID (duration))
end_time += duration;
@@ -598,7 +600,7 @@ gst_selector_pad_chain (GstPad * pad, GstBuffer * buf)
GstSegment *cseg = &sel->segment;
GST_DEBUG_OBJECT (sel,
- "pushing NEWSEGMENT update %d, rate %lf, applied rate %lf, "
+ "pushing close NEWSEGMENT update %d, rate %lf, applied rate %lf, "
"format %d, "
"%" G_GINT64_FORMAT " -- %" G_GINT64_FORMAT ", time %"
G_GINT64_FORMAT, TRUE, cseg->rate, cseg->applied_rate, cseg->format,
@@ -613,7 +615,7 @@ gst_selector_pad_chain (GstPad * pad, GstBuffer * buf)
/* if we have a pending segment, push it out now */
if (G_UNLIKELY (selpad->segment_pending)) {
GST_DEBUG_OBJECT (pad,
- "pushing NEWSEGMENT update %d, rate %lf, applied rate %lf, "
+ "pushing pending NEWSEGMENT update %d, rate %lf, applied rate %lf, "
"format %d, "
"%" G_GINT64_FORMAT " -- %" G_GINT64_FORMAT ", time %"
G_GINT64_FORMAT, FALSE, seg->rate, seg->applied_rate, seg->format,