summaryrefslogtreecommitdiffstats
path: root/third_party/libwebrtc/moz-patch-stack/0069.patch
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/libwebrtc/moz-patch-stack/0069.patch')
-rw-r--r--third_party/libwebrtc/moz-patch-stack/0069.patch51
1 files changed, 51 insertions, 0 deletions
diff --git a/third_party/libwebrtc/moz-patch-stack/0069.patch b/third_party/libwebrtc/moz-patch-stack/0069.patch
new file mode 100644
index 0000000000..05d3466847
--- /dev/null
+++ b/third_party/libwebrtc/moz-patch-stack/0069.patch
@@ -0,0 +1,51 @@
+From: Michael Froman <mjfroman@mac.com>
+Date: Wed, 3 Aug 2022 20:21:25 -0500
+Subject: Bug 1780582 - work around generating VideoFrameBufferType;r=mjf
+
+---
+ .../api/org/webrtc/VideoFrameBufferType.java | 33 +++++++++++++++++++
+ 1 file changed, 33 insertions(+)
+ create mode 100644 sdk/android/api/org/webrtc/VideoFrameBufferType.java
+
+diff --git a/sdk/android/api/org/webrtc/VideoFrameBufferType.java b/sdk/android/api/org/webrtc/VideoFrameBufferType.java
+new file mode 100644
+index 0000000000..7b05b88cba
+--- /dev/null
++++ b/sdk/android/api/org/webrtc/VideoFrameBufferType.java
+@@ -0,0 +1,33 @@
++
++// Copyright 2022 The Chromium Authors. All rights reserved.
++// Use of this source code is governed by a BSD-style license that can be
++// found in the LICENSE file.
++
++// This file is autogenerated by
++// java_cpp_enum.py
++// From
++// ../../api/video/video_frame_buffer.h
++
++package org.webrtc;
++
++import androidx.annotation.IntDef;
++
++import java.lang.annotation.Retention;
++import java.lang.annotation.RetentionPolicy;
++
++@IntDef({
++ VideoFrameBufferType.NATIVE, VideoFrameBufferType.I420, VideoFrameBufferType.I420A,
++ VideoFrameBufferType.I422, VideoFrameBufferType.I444, VideoFrameBufferType.I010,
++ VideoFrameBufferType.I210, VideoFrameBufferType.NV12
++})
++@Retention(RetentionPolicy.SOURCE)
++public @interface VideoFrameBufferType {
++ int NATIVE = 0;
++ int I420 = 1;
++ int I420A = 2;
++ int I422 = 3;
++ int I444 = 4;
++ int I010 = 5;
++ int I210 = 6;
++ int NV12 = 7;
++}
+--
+2.34.1
+