Hi,This patch simply adds a few cosmetics: vertical alignment + add vaDisplayIsValid() prototype.
Regards, Gwenole.
From: Gwenole Beauchesne <[email protected]> Date: Tue Apr 13 04:54:11 2010 +0200 Subject: [PATCH] VA/GLX cosmetics (indentation, declarations) diff --git a/va/va_backend.h b/va/va_backend.h index 9029fa6..62ac970 100644 --- a/va/va_backend.h +++ b/va/va_backend.h @@ -397,7 +397,7 @@ struct VADriverContext void *handle; /* dlopen handle */ void *dri_state; - void *glx; /* opaque for GLX code */ + void *glx; /* opaque for GLX code */ }; #define VA_DISPLAY_MAGIC 0x56414430 /* VAD0 */ diff --git a/va/glx/va_glx.c b/va/glx/va_glx.c index 1812ef5..cd1275f 100644 --- a/va/glx/va_glx.c +++ b/va/glx/va_glx.c @@ -47,6 +47,8 @@ status = vtable->va##func##GLX args; \ } while (0) +// Check VADisplay is valid (from libva.so.*) +int vaDisplayIsValid(VADisplay dpy); // Destroy VA/GLX display context static void va_DisplayContextDestroy(VADisplayContextP pDisplayContext)
_______________________________________________ Libva mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libva
