From 723eba37609f1a1b4c8f6986e6c28e7df26e5b94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 15 Jun 2015 14:29:04 +0200 Subject: [PATCH] videoaggregator: Print some debug output if we change the timestamp offset --- gst-libs/gst/video/gstvideoaggregator.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gst-libs/gst/video/gstvideoaggregator.c b/gst-libs/gst/video/gstvideoaggregator.c index cc1939977d..a66ed3a350 100644 --- a/gst-libs/gst/video/gstvideoaggregator.c +++ b/gst-libs/gst/video/gstvideoaggregator.c @@ -606,6 +606,10 @@ gst_videoaggregator_src_setcaps (GstVideoAggregator * vagg, GstCaps * caps) if (agg->segment.position != -1) { vagg->priv->ts_offset = agg->segment.position - agg->segment.start; vagg->priv->nframes = 0; + GST_DEBUG_OBJECT (vagg, + "Updating timestamp offset to %" GST_TIME_FORMAT " for segment %" + GST_SEGMENT_FORMAT, GST_TIME_ARGS (vagg->priv->ts_offset), + &agg->segment); } gst_videoaggregator_reset_qos (vagg); }