commit f79b2938ded3e2a655e948970ff06af1ff168a32
parent ced58d038c012c2bd2ff6cfe3c378522fd16225b
Author: Dan Baker <dbaker@mozilla.com>
Date: Fri, 24 Oct 2025 12:25:34 -0600
Bug 1995393 - Vendor libwebrtc from 802c38c304
Upstream commit: https://webrtc.googlesource.com/src/+/802c38c3045a0cb6f27d131cc70707ace6f14187
Add documentation about non-successful return from `FileBasedEncoder::Encode`.
Bug: webrtc:358039777
Change-Id: I4d745ce5be81405e3915f48985806cbb6572f93d
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/405240
Reviewed-by: Artem Titov <titovartem@webrtc.org>
Commit-Queue: Emil Vardar (xWF) <vardar@google.com>
Reviewed-by: Erik Språng <sprang@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#45389}
Diffstat:
2 files changed, 4 insertions(+), 3 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-10-24T18:22:57.305862+00:00.
+libwebrtc updated from /Users/danielbaker/elm/.moz-fast-forward/moz-libwebrtc commit mozpatches on 2025-10-24T18:25:25.274920+00:00.
# base of lastest vendoring
-21dcf62eda
+802c38c304
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
@@ -30,7 +30,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.
+ // path is returned if successful. If not successful, an empty string is
+ // returned.
virtual std::string Encode(const TestClip& clip, DataRate bitrate) = 0;
// Returns the used codec for encoding.