diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2015-06-15 14:29:04 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2015-06-15 14:29:04 +0200 |
commit | f2617ee0ee9fd529ab4f7a72cf0fe54c92e4366c (patch) | |
tree | f932500d4289508695581cd5bd815f06f3159f46 /gst-libs | |
parent | 3c9176d7e8ede5207bfb49d40fcb8a39ba7b33c1 (diff) | |
download | gstreamer-plugins-bad-f2617ee0ee9fd529ab4f7a72cf0fe54c92e4366c.tar.gz |
videoaggregator: Print some debug output if we change the timestamp offset
Diffstat (limited to 'gst-libs')
-rw-r--r-- | gst-libs/gst/video/gstvideoaggregator.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gst-libs/gst/video/gstvideoaggregator.c b/gst-libs/gst/video/gstvideoaggregator.c index cc1939977..a66ed3a35 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); } |