mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 05:45:58 +00:00
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:
parent
df6cbe64cd
commit
c09f797231
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue