mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
vaapiutils: Fix compilation with latest and previous libva releases
vaSetInfoCallback() was defined after 0.39.4 / 1.7.3, so check for 0.39.5 instead.
This commit is contained in:
parent
1e0b3c2f74
commit
08dea01bf4
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,4)
|
||||
#if VA_CHECK_VERSION (0,39,5)
|
||||
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,4)
|
||||
#if VA_CHECK_VERSION (0,39,5)
|
||||
vaSetInfoCallback (gst_vaapi_log);
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue