You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.1 KiB

From ed1c90097764954a4111879483cb0613bbde5414 Mon Sep 17 00:00:00 2001
From: Nicolas Chauvet <kwizart@gmail.com>
Date: Mon, 19 Aug 2019 19:36:37 +0200
Subject: [PATCH 2/3] Change struct v4l2 to uintptr_t
---
src/vdpau_video.c | 4 ++--
src/vdpau_video.h | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/vdpau_video.c b/src/vdpau_video.c
index 10453ec..ceaf287 100644
--- a/src/vdpau_video.c
+++ b/src/vdpau_video.c
@@ -976,8 +976,8 @@ VAStatus
vdpau_CreateSurfaceFromV4L2Buf(
VADriverContextP ctx,
int v4l2_fd,
- struct v4l2_format *v4l2_fmt,
- struct v4l2_buffer *v4l2_buf,
+ uintptr_t *v4l2_fmt,
+ uintptr_t *v4l2_buf,
VASurfaceID *surface
)
{
diff --git a/src/vdpau_video.h b/src/vdpau_video.h
index 452749d..ee646d1 100644
--- a/src/vdpau_video.h
+++ b/src/vdpau_video.h
@@ -284,8 +284,8 @@ VAStatus
vdpau_CreateSurfaceFromV4L2Buf(
VADriverContextP ctx,
int v4l2_fd,
- struct v4l2_format *v4l2_fmt,
- struct v4l2_buffer *v4l2_buf,
+ uintptr_t *v4l2_fmt,
+ uintptr_t *v4l2_buf,
VASurfaceID *surface
) attribute_hidden;
--
2.20.1