From da7500de3fb8ec4ae0f07ad57b8150d76b807aea Mon Sep 17 00:00:00 2001 From: Víctor Manuel Jáquez Leal Date: Thu, 12 Jan 2017 12:49:55 +0100 Subject: 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 --- gst-libs/gst/vaapi/gstvaapiutils.c | 4 ++-- 1 file 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 -- cgit v1.2.3