Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Update
chromium.10763
old-libva.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File old-libva.patch of Package chromium.10763
Index: chromium-76.0.3809.12/media/gpu/vaapi/vaapi_wrapper.cc =================================================================== --- chromium-76.0.3809.12.orig/media/gpu/vaapi/vaapi_wrapper.cc +++ chromium-76.0.3809.12/media/gpu/vaapi/vaapi_wrapper.cc @@ -55,6 +55,10 @@ #include "ui/ozone/public/surface_factory_ozone.h" #endif +#ifndef VA_FOURCC_I420 +#define VA_FOURCC_I420 0x30323449 +#endif + using media_gpu_vaapi::kModuleVa; using media_gpu_vaapi::kModuleVa_drm; #if defined(USE_X11) @@ -277,9 +281,6 @@ bool VADisplayState::Initialize() { } bool VADisplayState::InitializeOnce() { - static_assert(VA_MAJOR_VERSION >= 1 && VA_MINOR_VERSION >= 1, - "Requires VA-API >= 1.1.0"); - switch (gl::GetGLImplementation()) { case gl::kGLImplementationEGLGLES2: va_display_ = vaGetDisplayDRM(drm_fd_.get()); Index: chromium-76.0.3809.12/media/gpu/vaapi/vaapi_jpeg_decoder.cc =================================================================== --- chromium-76.0.3809.12.orig/media/gpu/vaapi/vaapi_jpeg_decoder.cc +++ chromium-76.0.3809.12/media/gpu/vaapi/vaapi_jpeg_decoder.cc @@ -23,6 +23,10 @@ #include "media/gpu/vaapi/vaapi_wrapper.h" #include "media/parsers/jpeg_parser.h" +#ifndef VA_FOURCC_I420 +#define VA_FOURCC_I420 0x30323449 +#endif + namespace media { namespace { Index: chromium-76.0.3809.12/media/gpu/vaapi/vaapi_mjpeg_decode_accelerator.cc =================================================================== --- chromium-76.0.3809.12.orig/media/gpu/vaapi/vaapi_mjpeg_decode_accelerator.cc +++ chromium-76.0.3809.12/media/gpu/vaapi/vaapi_mjpeg_decode_accelerator.cc @@ -30,6 +30,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 {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor