[Libva] [PATCH 13/16] use struct wl_buffer **

Zhao Halley halley.zhao at intel.com
Tue Jun 5 02:07:01 PDT 2012


From: Zhao halley <halley.zhao at intel.com>

---
 va/wayland/va_backend_wayland.h |    2 +-
 va/wayland/va_wayland.c         |    2 +-
 va/wayland/va_wayland.h         |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/va/wayland/va_backend_wayland.h b/va/wayland/va_backend_wayland.h
index 45c1d6f..0f076c7 100755
--- a/va/wayland/va_backend_wayland.h
+++ b/va/wayland/va_backend_wayland.h
@@ -43,7 +43,7 @@ struct VADriverVTableWayland {
     VAStatus (*vaGetSurfaceBufferWl)(
         struct VADriverContext *ctx,
         VASurfaceID             va_surface,
-        struct wl_buffer *out_buffer
+        struct wl_buffer **out_buffer
     );
 };
 
diff --git a/va/wayland/va_wayland.c b/va/wayland/va_wayland.c
index d69cc30..8f339cd 100755
--- a/va/wayland/va_wayland.c
+++ b/va/wayland/va_wayland.c
@@ -161,7 +161,7 @@ VAStatus
 vaGetSurfaceBufferWl(
     VADisplay    dpy,
     VASurfaceID  va_surface,
-    struct wl_buffer *out_buffer
+    struct wl_buffer **out_buffer
 )
 {
     VADriverContextP const ctx = get_driver_context(dpy);
diff --git a/va/wayland/va_wayland.h b/va/wayland/va_wayland.h
index 025621d..d49d7e2 100755
--- a/va/wayland/va_wayland.h
+++ b/va/wayland/va_wayland.h
@@ -87,7 +87,7 @@ VAStatus
 vaGetSurfaceBufferWl(
     VADisplay    dpy,
     VASurfaceID  va_surface,
-    struct wl_buffer *out_buffer
+    struct wl_buffer **out_buffer
 );
 
 /**@}*/
-- 
1.7.5.4



More information about the Libva mailing list