16 lines
663 B
Diff
16 lines
663 B
Diff
|
|
Index: chromium-74.0.3729.108/media/gpu/vaapi/vaapi_wrapper.cc
|
||
|
|
===================================================================
|
||
|
|
--- chromium-74.0.3729.108.orig/media/gpu/vaapi/vaapi_wrapper.cc
|
||
|
|
+++ chromium-74.0.3729.108/media/gpu/vaapi/vaapi_wrapper.cc
|
||
|
|
@@ -286,8 +286,8 @@ bool VADisplayState::Initialize() {
|
||
|
|
}
|
||
|
|
|
||
|
|
bool VADisplayState::InitializeOnce() {
|
||
|
|
- static_assert(VA_MAJOR_VERSION >= 1 && VA_MINOR_VERSION >= 1,
|
||
|
|
- "Requires VA-API >= 1.1.0");
|
||
|
|
+ static_assert(VA_MAJOR_VERSION >= 1 && VA_MINOR_VERSION >= 0,
|
||
|
|
+ "Requires VA-API >= 1.0.0");
|
||
|
|
|
||
|
|
switch (gl::GetGLImplementation()) {
|
||
|
|
case gl::kGLImplementationEGLGLES2:
|