diff options
author | Duncan Palmer <dpalmer@digisoft.tv> | 2016-07-18 19:59:23 +1000 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-07-25 13:25:09 +0300 |
commit | e8ae7e52284b2426ecee440e3d8eaa222e4062b6 (patch) | |
tree | 3d71671c4a7bc3199b5ad44ef188e7b34fb43d64 | |
parent | da25c560a1dc05c2a2a519281f151cefa078bb40 (diff) | |
download | gstreamer-plugins-base-e8ae7e52284b2426ecee440e3d8eaa222e4062b6.tar.gz |
xvimageallocator: const correctness in gst_xvimage_allocator_alloc().
https://bugzilla.gnome.org/show_bug.cgi?id=767712
-rw-r--r-- | sys/xvimage/xvimageallocator.c | 2 | ||||
-rw-r--r-- | sys/xvimage/xvimageallocator.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/xvimage/xvimageallocator.c b/sys/xvimage/xvimageallocator.c index 9c75489b5..3a2728c23 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 b47539dff..f9b7ee396 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 */ |