diff --git a/libs/gst/base/gstaggregator.c b/libs/gst/base/gstaggregator.c index 41fd8ba8cb..a4cd2d21ef 100644 --- a/libs/gst/base/gstaggregator.c +++ b/libs/gst/base/gstaggregator.c @@ -1066,7 +1066,7 @@ gst_aggregator_default_negotiated_src_caps (GstAggregator * agg, GstCaps * caps) static gboolean gst_aggregator_set_allocation (GstAggregator * self, GstBufferPool * pool, GstAllocator * allocator, - GstAllocationParams * params, GstQuery * query) + const GstAllocationParams * params, GstQuery * query) { GstAllocator *oldalloc; GstBufferPool *oldpool; diff --git a/libs/gst/base/gstbasesrc.c b/libs/gst/base/gstbasesrc.c index e802483600..e35a88f77b 100644 --- a/libs/gst/base/gstbasesrc.c +++ b/libs/gst/base/gstbasesrc.c @@ -3133,7 +3133,7 @@ pause: static gboolean gst_base_src_set_allocation (GstBaseSrc * basesrc, GstBufferPool * pool, - GstAllocator * allocator, GstAllocationParams * params) + GstAllocator * allocator, const GstAllocationParams * params) { GstAllocator *oldalloc; GstBufferPool *oldpool; diff --git a/libs/gst/base/gstbasetransform.c b/libs/gst/base/gstbasetransform.c index 0bdb9de716..2df00f9cff 100644 --- a/libs/gst/base/gstbasetransform.c +++ b/libs/gst/base/gstbasetransform.c @@ -746,7 +746,7 @@ done: static gboolean gst_base_transform_set_allocation (GstBaseTransform * trans, GstBufferPool * pool, GstAllocator * allocator, - GstAllocationParams * params, GstQuery * query) + const GstAllocationParams * params, GstQuery * query) { GstAllocator *oldalloc; GstBufferPool *oldpool;