freebsd-ports/multimedia/libva/files/patch-va-glx-va_glx_private.h
Max Brazhnikov 9b191dbf46 Add new port multimedia/libva:
The main motivation for VAAPI (Video Acceleration API) is to enable
hardware accelerated video decode/encode at various entry-points (VLD,
IDCT, Motion Compensation etc.) for the prevailing coding standards
today (MPEG-2, MPEG-4 ASP/H.263, MPEG-4 AVC/H.264, and VC-1/VMW3).

WWW:	http://freedesktop.org/wiki/Software/vaapi

PR:		ports/153725
Submitted by:	Anonymous <swell.k at gmail.com>
Feature safe:	yes
2011-01-13 11:02:02 +00:00

11 lines
493 B
C

--- va/glx/va_glx_private.h~
+++ va/glx/va_glx_private.h
@@ -38,7 +38,7 @@ typedef void (*PFNGLXBINDTEXIMAGEEXTPROC
typedef void (*PFNGLXRELEASETEXIMAGEEXTPROC)(Display *, GLXDrawable, int);
#endif
-#if GLX_GLXEXT_VERSION < 27
+#if GLX_GLXEXT_VERSION < 21
/* XXX: this is not exactly that version but this is the only means to
make sure we have the correct <GL/glx.h> with those signatures */
typedef GLXPixmap (*PFNGLXCREATEPIXMAPPROC)(Display *, GLXFBConfig, Pixmap, const int *);