1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00
freebsd-ports/graphics/gnash/files/patch-libdevice-caapi-VaapiSurface.cpp
Guido Falsi 3b40536753 Fix build of gnash [1] and vlc [2] after libva update.
PR:		ports/180118 [2]
Submitted by:	Geraud CONTINSOUZAS <geraud@gcu.info>
Approved by:	dinoex [1], nox [2]
2013-07-06 20:08:45 +00:00

14 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;
}