diff --git a/libs/gst/base/gstaggregator.c b/libs/gst/base/gstaggregator.c index 568e3771fe..a4c00ca673 100644 --- a/libs/gst/base/gstaggregator.c +++ b/libs/gst/base/gstaggregator.c @@ -3474,7 +3474,7 @@ gst_aggregator_simple_get_next_time (GstAggregator * self) * Since: 1.18 */ void -gst_aggregator_update_segment (GstAggregator * self, GstSegment * segment) +gst_aggregator_update_segment (GstAggregator * self, const GstSegment * segment) { g_return_if_fail (GST_IS_AGGREGATOR (self)); g_return_if_fail (segment != NULL); diff --git a/libs/gst/base/gstaggregator.h b/libs/gst/base/gstaggregator.h index c5cc838c84..825922cb18 100644 --- a/libs/gst/base/gstaggregator.h +++ b/libs/gst/base/gstaggregator.h @@ -387,7 +387,7 @@ GstClockTime gst_aggregator_simple_get_next_time (GstAggregator GST_BASE_API void gst_aggregator_update_segment (GstAggregator * self, - GstSegment * segment); + const GstSegment * segment); G_END_DECLS