Cleanup WebRTC-Vp9DependencyDescriptor field trial

Bug: chromium:1178444
Change-Id: Ie2ec796e207fa427fdbe00c8ea41a6b4fefea155
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/235374
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Reviewed-by: Philip Eliasson <philipel@webrtc.org>
Reviewed-by: Björn Terelius <terelius@webrtc.org>
Commit-Queue: Emil Lundmark <lndmrk@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#35241}
This commit is contained in:
Emil Lundmark
2021-10-18 11:27:26 +02:00
committed by WebRTC LUCI CQ
parent 53cd346a96
commit 823ba0b038
7 changed files with 4 additions and 19 deletions

View File

@ -227,9 +227,6 @@ LibvpxVp9Encoder::LibvpxVp9Encoder(const cricket::VideoCodec& codec,
first_frame_in_picture_(true),
ss_info_needed_(false),
force_all_active_layers_(false),
use_svc_controller_(
!absl::StartsWith(trials.Lookup("WebRTC-Vp9DependencyDescriptor"),
"Disabled")),
is_flexible_mode_(false),
variable_framerate_experiment_(ParseVariableFramerateConfig(trials)),
variable_framerate_controller_(
@ -552,9 +549,7 @@ int LibvpxVp9Encoder::InitEncode(const VideoCodec* inst,
num_temporal_layers_ = 1;
}
if (use_svc_controller_) {
svc_controller_ = CreateVp9ScalabilityStructure(*inst);
}
svc_controller_ = CreateVp9ScalabilityStructure(*inst);
framerate_controller_ = std::vector<FramerateControllerDeprecated>(
num_spatial_layers_, FramerateControllerDeprecated(codec_.maxFramerate));

View File

@ -150,7 +150,6 @@ class LibvpxVp9Encoder : public VP9Encoder {
VideoBitrateAllocation current_bitrate_allocation_;
bool ss_info_needed_;
bool force_all_active_layers_;
const bool use_svc_controller_;
std::unique_ptr<ScalableVideoController> svc_controller_;
std::vector<FramerateControllerDeprecated> framerate_controller_;