aggregator: fix logging in new update_segment API

This commit is contained in:
Mathieu Duponchelle 2019-12-06 11:40:44 +01:00
parent 88999d3b0e
commit 4af103d124

View file

@ -3476,7 +3476,8 @@ gst_aggregator_update_segment (GstAggregator * self, GstSegment * segment)
g_return_if_fail (GST_IS_AGGREGATOR (self));
g_return_if_fail (segment != NULL);
GST_INFO_OBJECT (self, "Updating srcpad segment: %" GST_PTR_FORMAT, segment);
GST_INFO_OBJECT (self, "Updating srcpad segment: %" GST_SEGMENT_FORMAT,
segment);
GST_OBJECT_LOCK (self);
GST_AGGREGATOR_PAD (self->srcpad)->segment = *segment;