blob: 718fd24f6dad1550981820a91112444a07bea468 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- media/capture/video/video_capture_buffer_pool_impl.cc.orig 2021-09-14 01:51:58 UTC
+++ media/capture/video/video_capture_buffer_pool_impl.cc
@@ -74,7 +74,7 @@ VideoCaptureBufferPoolImpl::CreateSharedMemoryViaRawFi
int buffer_id) {
// This requires platforms where base::SharedMemoryHandle is backed by a
// file descriptor.
-#if defined(OS_LINUX) || defined(OS_CHROMEOS)
+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
base::AutoLock lock(lock_);
VideoCaptureBufferTracker* tracker = GetTracker(buffer_id);
|