summaryrefslogtreecommitdiff
path: root/src/va.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/va.c')
-rw-r--r--src/va.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/va.c b/src/va.c
index 1f6b1fe..3169b1d 100644
--- a/src/va.c
+++ b/src/va.c
@@ -25,6 +25,8 @@
#include "va.h"
#include "va_backend.h"
+#include "va_version.h"
+
#include <assert.h>
#include <stdarg.h>
#include <stdio.h>
@@ -32,6 +34,8 @@
#include <dlfcn.h>
#include <unistd.h>
+#define VA_STR_VERSION VA_BUILD_DATE VA_BUILD_GIT
+
#define VA_MAJOR_VERSION 0
#define VA_MINOR_VERSION 30
#define DRIVER_INIT_FUNC "__vaDriverInit_0_30"
@@ -325,6 +329,8 @@ VAStatus vaInitialize (
va_debug_trace = (getenv("LIBVA_DEBUG_TRACE") != NULL);
+ va_infoMessage("libva build on %s\n", VA_STR_VERSION);
+
vaStatus = va_getDriverName(dpy, &driver_name);
va_infoMessage("va_getDriverName() returns %d\n", vaStatus);