diff options
Diffstat (limited to 'www/chromium/files/patch-media_base_libvpx__thread__wrapper.cc')
-rw-r--r-- | www/chromium/files/patch-media_base_libvpx__thread__wrapper.cc | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/www/chromium/files/patch-media_base_libvpx__thread__wrapper.cc b/www/chromium/files/patch-media_base_libvpx__thread__wrapper.cc new file mode 100644 index 000000000000..789d0b6eff9a --- /dev/null +++ b/www/chromium/files/patch-media_base_libvpx__thread__wrapper.cc @@ -0,0 +1,24 @@ +--- media/base/libvpx_thread_wrapper.cc.orig 2024-02-23 21:04:38 UTC ++++ media/base/libvpx_thread_wrapper.cc +@@ -5,17 +5,21 @@ + #include "media/base/libvpx_thread_wrapper.h" + + #include "media/base/codec_worker_impl.h" ++#if !BUILDFLAG(IS_BSD) + #include "third_party/libvpx/source/libvpx/vpx_util/vpx_thread.h" ++#endif + + namespace media { + + void InitLibVpxThreadWrapper() { ++#if !BUILDFLAG(IS_BSD) + const VPxWorkerInterface interface = + CodecWorkerImpl<VPxWorkerInterface, VPxWorkerImpl, VPxWorker, + VPxWorkerStatus, NOT_OK, OK, + WORK>::GetCodecWorkerInterface(); + + CHECK(vpx_set_worker_interface(&interface)); ++#endif + } + + } // namespace media |