commit d8c86591b12a91cff3d7454ecf5f28182a4b883f
parent 390892736a3752f0405bb8ce42fd0b965b6f369f
Author: Dan Baker <dbaker@mozilla.com>
Date: Tue, 2 Dec 2025 00:57:58 -0700
Bug 2000941 - Vendor libwebrtc from a3d63d040d
Upstream commit: https://webrtc.googlesource.com/src/+/a3d63d040d4b229ca811a5029a7b3790692733b4
Remove deprecated `Encode2` method.
Bug: webrtc:358039777
Change-Id: Ida481403d52d54bc49106af8403b2d76354979ee
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/409561
Reviewed-by: Fanny Linderborg <linderborg@webrtc.org>
Reviewed-by: Erik Språng <sprang@webrtc.org>
Commit-Queue: Emil Vardar (xWF) <vardar@google.com>
Cr-Commit-Position: refs/heads/main@{#45745}
Diffstat:
2 files changed, 3 insertions(+), 14 deletions(-)
diff --git a/third_party/libwebrtc/README.mozilla.last-vendor b/third_party/libwebrtc/README.mozilla.last-vendor
@@ -1,4 +1,4 @@
# ./mach python dom/media/webrtc/third_party_build/vendor-libwebrtc.py --from-local /Users/danielbaker/elm/.moz-fast-forward/moz-libwebrtc --commit mozpatches libwebrtc
-libwebrtc updated from /Users/danielbaker/elm/.moz-fast-forward/moz-libwebrtc commit mozpatches on 2025-12-02T07:55:21.239407+00:00.
+libwebrtc updated from /Users/danielbaker/elm/.moz-fast-forward/moz-libwebrtc commit mozpatches on 2025-12-02T07:57:45.213733+00:00.
# base of lastest vendoring
-49f8cd9fe1
+a3d63d040d
diff --git a/third_party/libwebrtc/video/corruption_detection/evaluation/file_based_encoder.h b/third_party/libwebrtc/video/corruption_detection/evaluation/file_based_encoder.h
@@ -32,19 +32,8 @@ class FileBasedEncoder {
// Encodes the raw video clip specified by `clip` given in a Y4M or YUV file.
// Creates an encoded file where the encoded frames are stored. The encoded
// path is returned if successful.
- // TODO: bugs.webrtc.org/358039777 - Make pure virtual when all subclasses
- // has implemented this method.
virtual RTCErrorOr<std::string> Encode(const TestClip& clip,
- DataRate bitrate) {
- return Encode2(clip, bitrate);
- }
-
- // TODO: bugs.webrtc.org/358039777 - Remove.
- [[deprecated("Use above Encode instead")]]
- virtual RTCErrorOr<std::string> Encode2(const TestClip& clip,
- DataRate bitrate) {
- return Encode(clip, bitrate);
- }
+ DataRate bitrate) = 0;
// Returns the used codec for encoding.
virtual VideoCodecType GetCodec() const = 0;