commit | e19896abec0ab31c54d08270f987d36f841dda0b | [log] [tgz] |
---|---|---|
author | Sergey Silkin <ssilkin@webrtc.org> | Thu Jun 27 12:54:13 2024 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 27 16:24:14 2024 |
tree | 13ba5054dc75d46d093fcad84b5927ec718c1866 | |
parent | 479e0664952566ec0c13ddee71408722f3bf0064 [diff] |
Enable VP9 flexible mode if it is not disabled by the kill-switch Forgot negation in https://webrtc-review.googlesource.com/c/src/+/355700 Bug: webrtc:329396373 Change-Id: I6217b5b5cdb11b182405ae7b3d3d3c1fa5036bc7 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/355862 Auto-Submit: Sergey Silkin <ssilkin@webrtc.org> Reviewed-by: Erik Språng <sprang@webrtc.org> Commit-Queue: Sergey Silkin <ssilkin@webrtc.org> Commit-Queue: Erik Språng <sprang@webrtc.org> Cr-Commit-Position: refs/heads/main@{#42556}
diff --git a/media/engine/webrtc_video_engine.cc b/media/engine/webrtc_video_engine.cc index 33ad546..75031fe 100644 --- a/media/engine/webrtc_video_engine.cc +++ b/media/engine/webrtc_video_engine.cc
@@ -990,7 +990,7 @@ // TODO(webrtc:329396373): Remove after flexible mode is fully deployed. vp9_settings.flexibleMode = - IsDisabled(call_->trials(), "WebRTC-Video-Vp9FlexibleMode"); + !IsDisabled(call_->trials(), "WebRTC-Video-Vp9FlexibleMode"); } else { // Multiple spatial layers vp9 screenshare needs flexible mode. vp9_settings.flexibleMode = vp9_settings.numberOfSpatialLayers > 1;