From b6f41e393ee650bcfc2c5a78804ef914fc40ff4b Mon Sep 17 00:00:00 2001 From: Mark Thompson Date: Sun, 15 Oct 2017 20:57:21 +0100 Subject: [PATCH] st/va: Disable vaExportSurfaceHandle() MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This is not in libva 2.0, so it shouldn't be enabled yet. Signed-off-by: Mark Thompson Acked-by: Christian König --- src/gallium/state_trackers/va/context.c | 2 +- src/gallium/state_trackers/va/surface.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/state_trackers/va/context.c b/src/gallium/state_trackers/va/context.c index 1207499a788..78e1f19ab7d 100644 --- a/src/gallium/state_trackers/va/context.c +++ b/src/gallium/state_trackers/va/context.c @@ -89,7 +89,7 @@ static struct VADriverVTable vtable = &vlVaQuerySurfaceAttributes, &vlVaAcquireBufferHandle, &vlVaReleaseBufferHandle, -#if VA_CHECK_VERSION(1, 0, 0) +#if 0 &vlVaExportSurfaceHandle, #endif }; diff --git a/src/gallium/state_trackers/va/surface.c b/src/gallium/state_trackers/va/surface.c index 76e562717a6..ccdeabc3ad2 100644 --- a/src/gallium/state_trackers/va/surface.c +++ b/src/gallium/state_trackers/va/surface.c @@ -903,7 +903,7 @@ vlVaQueryVideoProcPipelineCaps(VADriverContextP ctx, VAContextID context, return VA_STATUS_SUCCESS; } -#if VA_CHECK_VERSION(1, 0, 0) +#if 0 VAStatus vlVaExportSurfaceHandle(VADriverContextP ctx, VASurfaceID surface_id, -- 2.30.2