mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 20:42:30 +00:00
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
This commit is contained in:
parent
08dea01bf4
commit
da7500de3f
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue