mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
libs: surface: cast to uintptr_t pointer
According to Debian package auto-building, uintptr_t is not an unsigned long in i386 arch, raising an "incompatible pointer type" error. This patch adds a casting for compiler's satisfaction in i386.
This commit is contained in:
parent
02c7c1bc17
commit
863b7fa6e0
1 changed files with 1 additions and 1 deletions
|
@ -268,7 +268,7 @@ gst_vaapi_surface_create_from_buffer_proxy (GstVaapiSurface * surface,
|
|||
extbuf.pitches[i] = GST_VIDEO_INFO_PLANE_STRIDE (vip, i);
|
||||
extbuf.offsets[i] = GST_VIDEO_INFO_PLANE_OFFSET (vip, i);
|
||||
}
|
||||
extbuf.buffers = &extbuf_handle;
|
||||
extbuf.buffers = (uintptr_t *) & extbuf_handle;
|
||||
extbuf.num_buffers = 1;
|
||||
extbuf.flags = 0;
|
||||
extbuf.private_data = NULL;
|
||||
|
|
Loading…
Reference in a new issue