opnsense-ports/graphics/gnash/files/patch-libdevice-caapi-VaapiSurface.cpp
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

13 lines
595 B
C++

--- libdevice/vaapi/VaapiSurface.cpp.orig 2012-01-19 20:17:48.000000000 +0100
+++ libdevice/vaapi/VaapiSurface.cpp 2013-07-05 01:44:21.927681308 +0200
@@ -62,8 +62,8 @@
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;
}