Bug 1880804 [wpt PR 44645] - Implement constructor in RTCEncodedVideoFrame, a=testonly
[gecko.git] / third_party / libwebrtc / moz-patch-stack / 0080.patch
blob25beff2915980d61d2be8a977e53c43f071804a8
1 From: Nico Grunbaum <na-g@nostrum.com>
2 Date: Thu, 22 Jun 2023 16:23:00 +0000
3 Subject: Bug 1837918 - libwebrtc update broke the build on
4 OpenBSD;r=mjf,webrtc-reviewers
6 Differential Revision: https://phabricator.services.mozilla.com/D181791
7 Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/2a6a838b7021bb285f9485c2ceda6ba2543e0d6f
8 ---
9 modules/video_capture/video_capture_options.h | 4 ++--
10 1 file changed, 2 insertions(+), 2 deletions(-)
12 diff --git a/modules/video_capture/video_capture_options.h b/modules/video_capture/video_capture_options.h
13 index 6f72f7927e..37965305d9 100644
14 --- a/modules/video_capture/video_capture_options.h
15 +++ b/modules/video_capture/video_capture_options.h
16 @@ -55,7 +55,7 @@ class RTC_EXPORT VideoCaptureOptions {
18 void Init(Callback* callback);
20 -#if defined(WEBRTC_LINUX)
21 +#if defined(WEBRTC_LINUX) || defined(WEBRTC_BSD)
22 bool allow_v4l2() const { return allow_v4l2_; }
23 void set_allow_v4l2(bool allow) { allow_v4l2_ = allow; }
24 #endif
25 @@ -68,7 +68,7 @@ class RTC_EXPORT VideoCaptureOptions {
26 #endif
28 private:
29 -#if defined(WEBRTC_LINUX)
30 +#if defined(WEBRTC_LINUX) || defined(WEBRTC_BSD)
31 bool allow_v4l2_ = false;
32 #endif
33 #if defined(WEBRTC_USE_PIPEWIRE)