summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>2017-01-12 12:49:55 +0100
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>2017-01-12 12:54:34 +0100
commitda7500de3fb8ec4ae0f07ad57b8150d76b807aea (patch)
tree54b107168901102c9006b7dab4e2236c0dfe7b4e
parent08dea01bf49c8159ce2fec8290bcc1c018105075 (diff)
vaapi: bump ifdef to API 0.40.0 for log redirect
vaSetInfoCallback() is not released yet. It is going to appear in VA-API 0.40.0
-rw-r--r--gst-libs/gst/vaapi/gstvaapiutils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapiutils.c b/gst-libs/gst/vaapi/gstvaapiutils.c
index 9e93b37a..df17044c 100644
--- a/gst-libs/gst/vaapi/gstvaapiutils.c
+++ b/gst-libs/gst/vaapi/gstvaapiutils.c
@@ -45,7 +45,7 @@
#define STRCASEP(p, x) STRCASE(CONCAT(p, x))
#define STRCASE(x) case x: return STRINGIFY(x)
-#if VA_CHECK_VERSION (0,39,5)
+#if VA_CHECK_VERSION (0,40,0)
static void
gst_vaapi_log (const char *message)
{
@@ -66,7 +66,7 @@ vaapi_initialize (VADisplay dpy)
gint major_version, minor_version;
VAStatus status;
-#if VA_CHECK_VERSION (0,39,5)
+#if VA_CHECK_VERSION (0,40,0)
vaSetInfoCallback (gst_vaapi_log);
#endif