Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
xvimageallocator: const correctness in gst_xvimage_allocator_alloc().
  • Loading branch information
Duncan Palmer authored and tp-m committed Jul 18, 2016
1 parent 4e83e89 commit f00bbd2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sys/xvimage/xvimageallocator.c
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion sys/xvimage/xvimageallocator.h
Expand Up @@ -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 */
Expand Down

0 comments on commit f00bbd2

Please sign in to comment.