14 lines
553 B
C++
14 lines
553 B
C++
$NetBSD$
|
|
|
|
--- media/mojo/clients/mojo_video_encode_accelerator.cc.orig 2020-07-08 21:40:45.000000000 +0000
|
|
+++ media/mojo/clients/mojo_video_encode_accelerator.cc
|
|
@@ -132,7 +132,7 @@ void MojoVideoEncodeAccelerator::Encode(
|
|
DCHECK_EQ(num_planes, frame->layout().num_planes());
|
|
DCHECK(vea_.is_bound());
|
|
|
|
-#if defined(OS_LINUX)
|
|
+#if defined(OS_LINUX) || defined(OS_BSD)
|
|
// TODO(crbug.com/1003197): Remove this once we stop supporting STORAGE_DMABUF
|
|
// in VideoEncodeAccelerator.
|
|
if (frame->storage_type() == VideoFrame::STORAGE_DMABUFS) {
|