xvimageallocator: const correctness in gst_xvimage_allocator_alloc().

https://bugzilla.gnome.org/show_bug.cgi?id=767712
This commit is contained in:
Duncan Palmer 2016-07-18 19:59:23 +10:00 committed by Tim-Philipp Müller
parent 4e83e894df
commit f00bbd2ea5
2 changed files with 2 additions and 2 deletions

View file

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

View file

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