diff options
author | Mark Thompson <sw@jkqxz.net> | 2017-10-21 23:06:30 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-10-23 11:58:13 +0200 |
commit | 26b46950a101612073d83e782fbe3c1a5fd03aca (patch) | |
tree | eaedb6175dbd17034b0f0bc3edd7acceec7baa42 /video/out/opengl | |
parent | 34676fc94dac6a126dd833d9094409dc6e610351 (diff) | |
download | mpv-26b46950a101612073d83e782fbe3c1a5fd03aca.tar.bz2 mpv-26b46950a101612073d83e782fbe3c1a5fd03aca.tar.xz |
vo_opengl: hwdec_vaegl: Disable vaExportSurfaceHandle()
libva 2.0 (VAAPI 1.0.0) was released without it, but it is scheduled to
be included in libva 2.1.
Diffstat (limited to 'video/out/opengl')
-rw-r--r-- | video/out/opengl/hwdec_vaegl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/video/out/opengl/hwdec_vaegl.c b/video/out/opengl/hwdec_vaegl.c index 5d690d6131..525baa3b36 100644 --- a/video/out/opengl/hwdec_vaegl.c +++ b/video/out/opengl/hwdec_vaegl.c @@ -128,7 +128,7 @@ struct priv { EGLImageKHR images[4]; VAImage current_image; bool buffer_acquired; -#if VA_CHECK_VERSION(1, 0, 0) +#if 0 bool esh_not_implemented; VADRMPRIMESurfaceDescriptor desc; bool surface_acquired; @@ -215,7 +215,7 @@ static void mapper_unmap(struct ra_hwdec_mapper *mapper) p->images[n] = 0; } -#if VA_CHECK_VERSION(1, 0, 0) +#if 0 if (p->surface_acquired) { for (int n = 0; n < p->desc.num_objects; n++) close(p->desc.objects[n].fd); @@ -344,7 +344,7 @@ static int mapper_map(struct ra_hwdec_mapper *mapper) VAImage *va_image = &p->current_image; VADisplay *display = p_owner->display; -#if VA_CHECK_VERSION(1, 0, 0) +#if 0 if (p->esh_not_implemented) goto esh_failed; |