mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 05:40:42 +01:00
Delete expired field trial WebRTC-Video-RequestedResolutionOverrideOutputFormatRequest
Bug: webrtc:14451 Change-Id: Ic8287e5b97a335a8ce828df13b95b69c505a8de4 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/346640 Reviewed-by: Jonas Oreland <jonaso@webrtc.org> Reviewed-by: Erik Språng <sprang@webrtc.org> Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/main@{#42054}
This commit is contained in:
parent
83a1c92bb4
commit
7fe3a48ee7
2 changed files with 0 additions and 9 deletions
|
@ -141,9 +141,6 @@ ACTIVE_FIELD_TRIALS: FrozenSet[FieldTrial] = frozenset([
|
||||||
FieldTrial('WebRTC-Video-EncoderFallbackSettings',
|
FieldTrial('WebRTC-Video-EncoderFallbackSettings',
|
||||||
'webrtc:6634',
|
'webrtc:6634',
|
||||||
date(2024, 4, 1)),
|
date(2024, 4, 1)),
|
||||||
FieldTrial('WebRTC-Video-RequestedResolutionOverrideOutputFormatRequest',
|
|
||||||
'webrtc:14451',
|
|
||||||
date(2024, 4, 1)),
|
|
||||||
FieldTrial('WebRTC-Video-SimulcastIndependentFrameIds',
|
FieldTrial('WebRTC-Video-SimulcastIndependentFrameIds',
|
||||||
'webrtc:15875',
|
'webrtc:15875',
|
||||||
date(2024, 12, 1)),
|
date(2024, 12, 1)),
|
||||||
|
|
|
@ -358,12 +358,6 @@ void VideoAdapter::OnSinkWants(const rtc::VideoSinkWants& sink_wants) {
|
||||||
// that are NOT using requested_resolution (aka newapi), then override
|
// that are NOT using requested_resolution (aka newapi), then override
|
||||||
// calls to OnOutputFormatRequest and use values from requested_resolution
|
// calls to OnOutputFormatRequest and use values from requested_resolution
|
||||||
// instead (combined with qualityscaling based on pixel counts above).
|
// instead (combined with qualityscaling based on pixel counts above).
|
||||||
if (webrtc::field_trial::IsDisabled(
|
|
||||||
"WebRTC-Video-RequestedResolutionOverrideOutputFormatRequest")) {
|
|
||||||
// kill-switch...
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!sink_wants.requested_resolution) {
|
if (!sink_wants.requested_resolution) {
|
||||||
if (stashed_output_format_request_) {
|
if (stashed_output_format_request_) {
|
||||||
// because current active_output_format_request is based on
|
// because current active_output_format_request is based on
|
||||||
|
|
Loading…
Reference in a new issue