From: Sebastian Dröge Date: Sun, 3 May 2020 13:11:39 +0000 (+0300) Subject: aggregator: Mark segment parameter as const in gst_aggregator_update_segment() X-Git-Tag: 1.19.3~919 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c09f797231a0f9c4eafc2d354ec968b09b65905f;p=platform%2Fupstream%2Fgstreamer.git aggregator: Mark segment parameter as const in gst_aggregator_update_segment() Part-of: --- diff --git a/libs/gst/base/gstaggregator.c b/libs/gst/base/gstaggregator.c index 568e377..a4c00ca 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 c5cc838..825922c 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