mirror of
https://git.freebsd.org/ports.git
synced 2025-07-07 20:39:18 -04:00
Approved by: rene (mentor) Security: https://vuxml.freebsd.org/freebsd/310ca30e-a951-11ed-8314-a8a1599412c6.html
11 lines
585 B
C++
11 lines
585 B
C++
--- media/gpu/vaapi/vaapi_wrapper.cc.orig 2023-02-08 09:03:45 UTC
|
|
+++ media/gpu/vaapi/vaapi_wrapper.cc
|
|
@@ -755,7 +755,7 @@ VADisplayState::VADisplayState()
|
|
bool VADisplayState::Initialize() {
|
|
base::AutoLock auto_lock(va_lock_);
|
|
|
|
-#if BUILDFLAG(IS_OZONE) && BUILDFLAG(IS_LINUX)
|
|
+#if BUILDFLAG(IS_OZONE) && (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD))
|
|
// TODO(crbug.com/1116701): add vaapi support for other Ozone platforms on
|
|
// Linux. See comment in OzonePlatform::PlatformProperties::supports_vaapi
|
|
// for more details. This will also require revisiting everything that's
|