summaryrefslogtreecommitdiff
path: root/devel/electron5/files/patch-media_base_video__frame.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron5/files/patch-media_base_video__frame.h')
-rw-r--r--devel/electron5/files/patch-media_base_video__frame.h38
1 files changed, 0 insertions, 38 deletions
diff --git a/devel/electron5/files/patch-media_base_video__frame.h b/devel/electron5/files/patch-media_base_video__frame.h
deleted file mode 100644
index 754660888d92..000000000000
--- a/devel/electron5/files/patch-media_base_video__frame.h
+++ /dev/null
@@ -1,38 +0,0 @@
---- media/base/video_frame.h.orig 2019-04-08 08:32:59 UTC
-+++ media/base/video_frame.h
-@@ -71,7 +71,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCounte
- STORAGE_UNOWNED_MEMORY = 2, // External, non owned data pointers.
- STORAGE_OWNED_MEMORY = 3, // VideoFrame has allocated its own data buffer.
- STORAGE_SHMEM = 4, // Pixels are backed by Shared Memory.
--#if defined(OS_LINUX)
-+#if defined(OS_LINUX) || defined(OS_BSD)
- // TODO(mcasas): Consider turning this type into STORAGE_NATIVE
- // based on the idea of using this same enum value for both DMA
- // buffers on Linux and CVPixelBuffers on Mac (which currently use
-@@ -245,7 +245,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCounte
- uint8_t* a_data,
- base::TimeDelta timestamp);
-
--#if defined(OS_LINUX)
-+#if defined(OS_LINUX) || defined(OS_BSD)
- // Wraps provided dmabufs
- // (https://www.kernel.org/doc/html/latest/driver-api/dma-buf.html) with a
- // VideoFrame. The frame will take ownership of |dmabuf_fds|, and will
-@@ -430,7 +430,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCounte
- // Returns the offset into the shared memory where the frame data begins.
- size_t shared_memory_offset() const;
-
--#if defined(OS_LINUX)
-+#if defined(OS_LINUX) || defined(OS_BSD)
- // Returns a vector containing the backing DmaBufs for this frame. The number
- // of returned DmaBufs will be equal or less than the number of planes of
- // the frame. If there are less, this means that the last FD contains the
-@@ -624,7 +624,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCounte
- // memory.
- size_t shared_memory_offset_;
-
--#if defined(OS_LINUX)
-+#if defined(OS_LINUX) || defined(OS_BSD)
- // Dmabufs for the frame, used when storage is STORAGE_DMABUFS. Size is either
- // equal or less than the number of planes of the frame. If it is less, then
- // the memory area represented by the last FD contains the remaining planes.