From c09f797231a0f9c4eafc2d354ec968b09b65905f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sun, 3 May 2020 16:11:39 +0300 Subject: [PATCH] aggregator: Mark segment parameter as const in gst_aggregator_update_segment() Part-of: --- libs/gst/base/gstaggregator.c | 2 +- libs/gst/base/gstaggregator.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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