mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
xvimageallocator: const correctness in gst_xvimage_allocator_alloc().
https://bugzilla.gnome.org/show_bug.cgi?id=767712
This commit is contained in:
parent
4e83e894df
commit
f00bbd2ea5
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue