diff --git a/sys/xvimage/xvimageallocator.c b/sys/xvimage/xvimageallocator.c index c5be6db1d2..47c7da0073 100644 --- a/sys/xvimage/xvimageallocator.c +++ b/sys/xvimage/xvimageallocator.c @@ -343,7 +343,7 @@ gst_xvimage_allocator_peek_context (GstXvImageAllocator * allocator) GstMemory * gst_xvimage_allocator_alloc (GstXvImageAllocator * allocator, gint im_format, const GstVideoInfo * info, gint padded_width, gint padded_height, - GstVideoRectangle * crop, GError ** error) + const GstVideoRectangle * crop, GError ** error) { int (*handler) (Display *, XErrorEvent *); gboolean success = FALSE; diff --git a/sys/xvimage/xvimageallocator.h b/sys/xvimage/xvimageallocator.h index b47539dff5..f9b7ee396a 100644 --- a/sys/xvimage/xvimageallocator.h +++ b/sys/xvimage/xvimageallocator.h @@ -47,7 +47,7 @@ GstMemory * gst_xvimage_allocator_alloc (GstXvImageAllocator * a const GstVideoInfo * info, gint padded_width, gint padded_height, - GstVideoRectangle *crop, + const GstVideoRectangle *crop, GError ** error); /* memory from the allocator */