This commit is contained in:
committed by
Git OBS Bridge
parent
d6f3333b96
commit
848ab04922
@@ -12,3 +12,18 @@ Index: chromium-74.0.3729.108/media/gpu/vaapi/vaapi_wrapper.cc
|
|||||||
switch (gl::GetGLImplementation()) {
|
switch (gl::GetGLImplementation()) {
|
||||||
case gl::kGLImplementationEGLGLES2:
|
case gl::kGLImplementationEGLGLES2:
|
||||||
va_display_ = vaGetDisplayDRM(drm_fd_.get());
|
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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user