mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +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 *
|
GstMemory *
|
||||||
gst_xvimage_allocator_alloc (GstXvImageAllocator * allocator, gint im_format,
|
gst_xvimage_allocator_alloc (GstXvImageAllocator * allocator, gint im_format,
|
||||||
const GstVideoInfo * info, gint padded_width, gint padded_height,
|
const GstVideoInfo * info, gint padded_width, gint padded_height,
|
||||||
GstVideoRectangle * crop, GError ** error)
|
const GstVideoRectangle * crop, GError ** error)
|
||||||
{
|
{
|
||||||
int (*handler) (Display *, XErrorEvent *);
|
int (*handler) (Display *, XErrorEvent *);
|
||||||
gboolean success = FALSE;
|
gboolean success = FALSE;
|
||||||
|
|
|
@ -47,7 +47,7 @@ GstMemory * gst_xvimage_allocator_alloc (GstXvImageAllocator * a
|
||||||
const GstVideoInfo * info,
|
const GstVideoInfo * info,
|
||||||
gint padded_width,
|
gint padded_width,
|
||||||
gint padded_height,
|
gint padded_height,
|
||||||
GstVideoRectangle *crop,
|
const GstVideoRectangle *crop,
|
||||||
GError ** error);
|
GError ** error);
|
||||||
|
|
||||||
/* memory from the allocator */
|
/* memory from the allocator */
|
||||||
|
|
Loading…
Reference in a new issue