HEX
Server: Apache/2.4.41 (FreeBSD) OpenSSL/1.0.2s mod_fcgid/2.3.9
System: FreeBSD salazo 12.0-RELEASE-p1303-ZFS hostBSD 12.0-RELEASE-p1303-ZFS DMR amd64
User: admin (1000)
PHP: 7.4.3
Disabled: NONE
Upload Files
File: /usr/ports/graphics/gnash/files/patch-libdevice-vaapi-VaapiSurface.cpp
--- libdevice/vaapi/VaapiSurface.cpp.orig	2016-07-21 12:25:09 UTC
+++ libdevice/vaapi/VaapiSurface.cpp
@@ -62,8 +62,8 @@ public:
     VAStatus status;
     VASurfaceID surface_id;
     status = vaCreateSurfaces(gvactx->display(),
-                              width, height, VA_RT_FORMAT_YUV420,
-                              1, &surface_id);
+                              VA_RT_FORMAT_YUV420, width, height,
+                              &surface_id, 1, NULL, 0);
     if (!vaapi_check_status(status, "vaCreateSurfaces()")) {
         return;
     }