diff --git a/old-libva.patch b/old-libva.patch index 969eabe..768fb87 100644 --- a/old-libva.patch +++ b/old-libva.patch @@ -12,3 +12,18 @@ Index: chromium-74.0.3729.108/media/gpu/vaapi/vaapi_wrapper.cc switch (gl::GetGLImplementation()) { case gl::kGLImplementationEGLGLES2: va_display_ = vaGetDisplayDRM(drm_fd_.get()); +Index: chromium-74.0.3729.108/media/gpu/vaapi/vaapi_jpeg_decode_accelerator.cc +=================================================================== +--- chromium-74.0.3729.108.orig/media/gpu/vaapi/vaapi_jpeg_decode_accelerator.cc ++++ chromium-74.0.3729.108/media/gpu/vaapi/vaapi_jpeg_decode_accelerator.cc +@@ -29,6 +29,10 @@ + #include "third_party/libyuv/include/libyuv.h" + #include "ui/gfx/geometry/size.h" + ++#ifndef VA_FOURCC_I420 ++#define VA_FOURCC_I420 0x30323449 ++#endif ++ + namespace media { + + namespace {