Bug 1880804 [wpt PR 44645] - Implement constructor in RTCEncodedVideoFrame, a=testonly
[gecko.git] / third_party / libwebrtc / moz-patch-stack / 0067.patch
blob52302d9a8df6f095723f13a64496d2d2f55f0d74
1 From: Andreas Pehrson <apehrson@mozilla.com>
2 Date: Mon, 12 Dec 2022 15:47:00 +0000
3 Subject: Bug 1451394 - Record video frame captures with PerformanceRecorder in
4 the new mac camera backend. r=padenot
6 Also includes:
7 Bug 1806605 - Pass TrackingId instead of nsCString to CaptureStage.
9 Differential Revision: https://phabricator.services.mozilla.com/D163687
10 Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/a7362238c9e6fbe0d28200f6b41fc40a0c9a2158
11 ---
12 modules/video_capture/video_capture.h | 3 +++
13 1 file changed, 3 insertions(+)
15 diff --git a/modules/video_capture/video_capture.h b/modules/video_capture/video_capture.h
16 index db07580921..43a6a7f832 100644
17 --- a/modules/video_capture/video_capture.h
18 +++ b/modules/video_capture/video_capture.h
19 @@ -154,6 +154,9 @@ class VideoCaptureModule : public RefCountInterface {
20 // Return whether the rotation is applied or left pending.
21 virtual bool GetApplyRotation() = 0;
23 + // Mozilla: TrackingId setter for use in profiler markers.
24 + virtual void SetTrackingId(uint32_t aTrackingIdProcId) {}
26 protected:
27 ~VideoCaptureModule() override {}