blob: 76130e60b14a96ad20fa2edc274eb16310547b11 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- media/mojo/clients/mojo_video_encode_accelerator.cc.orig 2020-05-13 18:39:45 UTC
+++ media/mojo/clients/mojo_video_encode_accelerator.cc
@@ -132,7 +132,7 @@ void MojoVideoEncodeAccelerator::Encode(scoped_refptr<
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) {
|