33 lines
882 B
Diff
33 lines
882 B
Diff
|
From 2add868d2f18b8b47d9747e043f052e88869bfc3 Mon Sep 17 00:00:00 2001
|
||
|
From: Gary Buhrmaster <gary.buhrmaster@gmail.com>
|
||
|
Date: Sun, 30 Jun 2013 04:15:04 +0000
|
||
|
Subject: [PATCH] libva (VAAPI) has changed their API. Use the legacy API.
|
||
|
|
||
|
Validated as working by Frank P.
|
||
|
|
||
|
Fixes #11631
|
||
|
|
||
|
Signed-off-by: Gary Buhrmaster <gary.buhrmaster@gmail.com>
|
||
|
---
|
||
|
mythtv/libs/libmythtv/vaapicontext.h | 4 ++++
|
||
|
1 file changed, 4 insertions(+)
|
||
|
|
||
|
diff --git a/mythtv/libs/libmythtv/vaapicontext.h b/mythtv/libs/libmythtv/vaapicontext.h
|
||
|
index d076d11..f85cd9e 100644
|
||
|
--- a/mythtv/libs/libmythtv/vaapicontext.h
|
||
|
+++ b/mythtv/libs/libmythtv/vaapicontext.h
|
||
|
@@ -4,6 +4,10 @@
|
||
|
extern "C" {
|
||
|
#include "libavcodec/vaapi.h"
|
||
|
}
|
||
|
+#include "va/va_version.h"
|
||
|
+#if VA_CHECK_VERSION(0,34,0)
|
||
|
+#include "va/va_compat.h"
|
||
|
+#endif
|
||
|
#include "va/va_x11.h"
|
||
|
#include "va/va_glx.h"
|
||
|
#include "videocolourspace.h"
|
||
|
--
|
||
|
1.8.1.6
|
||
|
|