File: s0118.patch

package info (click to toggle)
firefox 147.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,683,320 kB
  • sloc: cpp: 7,607,359; javascript: 6,533,295; ansic: 3,775,223; python: 1,415,500; xml: 634,561; asm: 438,949; java: 186,241; sh: 62,752; makefile: 18,079; objc: 13,092; perl: 12,808; yacc: 4,583; cs: 3,846; pascal: 3,448; lex: 1,720; ruby: 1,003; php: 436; lisp: 258; awk: 247; sql: 66; sed: 54; csh: 10; exp: 6
file content (69 lines) | stat: -rw-r--r-- 3,320 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
From: Michael Froman <mfroman@mozilla.com>
Date: Fri, 18 Jul 2025 16:07:00 -0500
Subject: Bug 1971201 - (fix-70fb834e8c) most all of libwebrtc has converted
 from rtc:: to webrtc::

Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/d51a82971b9e755d5514572fcd8ddc557153c8ef
---
 modules/rtp_rtcp/source/rtp_header_extensions.h | 4 ++--
 modules/video_capture/video_capture.h           | 2 +-
 modules/video_capture/video_capture_impl.cc     | 2 +-
 modules/video_capture/video_capture_impl.h      | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/modules/rtp_rtcp/source/rtp_header_extensions.h b/modules/rtp_rtcp/source/rtp_header_extensions.h
index cc811cae3a..46d80e424a 100644
--- a/modules/rtp_rtcp/source/rtp_header_extensions.h
+++ b/modules/rtp_rtcp/source/rtp_header_extensions.h
@@ -321,10 +321,10 @@ class CsrcAudioLevel {
   static constexpr const char* kUri =
       "urn:ietf:params:rtp-hdrext:csrc-audio-level";
 
-  static bool Parse(rtc::ArrayView<const uint8_t> data,
+  static bool Parse(webrtc::ArrayView<const uint8_t> data,
                     CsrcAudioLevelList* csrcAudioLevels);
   static size_t ValueSize(const CsrcAudioLevelList& csrcAudioLevels);
-  static bool Write(rtc::ArrayView<uint8_t> data,
+  static bool Write(webrtc::ArrayView<uint8_t> data,
                     const CsrcAudioLevelList& csrcAudioLevels);
 };
 #endif
diff --git a/modules/video_capture/video_capture.h b/modules/video_capture/video_capture.h
index a7c1764c51..8a91ca2f83 100644
--- a/modules/video_capture/video_capture.h
+++ b/modules/video_capture/video_capture.h
@@ -123,7 +123,7 @@ class VideoCaptureModule : public RefCountInterface {
 
   //  Remove capture data callback
   virtual void DeRegisterCaptureDataCallback(
-      rtc::VideoSinkInterface<VideoFrame> *dataCallback) = 0;
+      webrtc::VideoSinkInterface<VideoFrame> *dataCallback) = 0;
 
   // Start capture device
   virtual int32_t StartCapture(const VideoCaptureCapability& capability) = 0;
diff --git a/modules/video_capture/video_capture_impl.cc b/modules/video_capture/video_capture_impl.cc
index 62a4b21a5f..98d7081b1d 100644
--- a/modules/video_capture/video_capture_impl.cc
+++ b/modules/video_capture/video_capture_impl.cc
@@ -120,7 +120,7 @@ void VideoCaptureImpl::RegisterCaptureDataCallback(
 }
 
 void VideoCaptureImpl::DeRegisterCaptureDataCallback(
-    rtc::VideoSinkInterface<VideoFrame>* dataCallBack) {
+    webrtc::VideoSinkInterface<VideoFrame>* dataCallBack) {
   MutexLock lock(&api_lock_);
   auto it = _dataCallBacks.find(dataCallBack);
   if (it != _dataCallBacks.end()) {
diff --git a/modules/video_capture/video_capture_impl.h b/modules/video_capture/video_capture_impl.h
index 4d5b83547f..220b8cff27 100644
--- a/modules/video_capture/video_capture_impl.h
+++ b/modules/video_capture/video_capture_impl.h
@@ -63,7 +63,7 @@ class RTC_EXPORT VideoCaptureImpl : public VideoCaptureModule {
   virtual void RegisterCaptureDataCallback(
       RawVideoSinkInterface* dataCallback) override;
   void DeRegisterCaptureDataCallback(
-      rtc::VideoSinkInterface<VideoFrame>* dataCallback) override;
+      webrtc::VideoSinkInterface<VideoFrame>* dataCallback) override;
 
   int32_t StopCaptureIfAllClientsClose() override;
   int32_t SetCaptureRotation(VideoRotation rotation) override;