aggregator: Mark segment parameter as const in gst_aggregator_update_segment()

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/457>
This commit is contained in:
Sebastian Dröge 2020-05-03 16:11:39 +03:00
parent df6cbe64cd
commit c09f797231
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -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