mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
videoaggregator: Print some debug output if we change the timestamp offset
This commit is contained in:
parent
8352e069ff
commit
723eba3760
1 changed files with 4 additions and 0 deletions
|
@ -606,6 +606,10 @@ gst_videoaggregator_src_setcaps (GstVideoAggregator * vagg, GstCaps * caps)
|
||||||
if (agg->segment.position != -1) {
|
if (agg->segment.position != -1) {
|
||||||
vagg->priv->ts_offset = agg->segment.position - agg->segment.start;
|
vagg->priv->ts_offset = agg->segment.position - agg->segment.start;
|
||||||
vagg->priv->nframes = 0;
|
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);
|
gst_videoaggregator_reset_qos (vagg);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue