commit | e99b4ff46490e4878155550c995df571760deded | [log] [tgz] |
---|---|---|
author | Wojciech Dzierżanowski <wdzierzanowski@opera.com> | Mon Oct 17 19:37:15 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Oct 17 19:37:15 2022 |
tree | 8fd49185a5b9fd4e9b0a3a3fe3d11b5be71c3d11 | |
parent | 14710d816855487f6c573d0b2db6d8ebce574f35 [diff] |
Set error status once in RTCVideoEncoder::Impl RTCVideoEncoder::Impl should set the signaled value once. NotifyAndLogError() does that, after figuring out the most appropriate error status. If the signaled value is also set explicitly, only one of the values set will actually take effect. One example where this led to unexpected behavior is when RTCVideoEncoder::Impl::EncodeOneFrameWithNativeInput() detects bad frame storage type. If WEBRTC_VIDEO_CODEC_ERROR is set explicitly, the caller of RTCVideoEncoder::Encode() sees that status instead of the WEBRTC_VIDEO_CODEC_FALLBACK_SOFTWARE status that is really expected here. Bug: 1375235 Change-Id: Ib5d1683044df4edd07fc7803330defa3b36a874d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3959577 Commit-Queue: Dale Curtis <dalecurtis@chromium.org> Auto-Submit: Wojciech Dzierżanowski <wdzierzanowski@opera.com> Reviewed-by: Dale Curtis <dalecurtis@chromium.org> Cr-Commit-Position: refs/heads/main@{#1060098}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.