Remove field trial for scaling down MediaCodec.

This should be on everywhere.

BUG=webrtc:5678
R=glaznev@webrtc.org

Review URL: https://codereview.webrtc.org/1889463002 .

Cr-Commit-Position: refs/heads/master@{#12355}
This commit is contained in:
Peter Boström
2016-04-14 00:54:56 +02:00
parent d4badbcb6d
commit 7ace488f47
2 changed files with 2 additions and 5 deletions

View File

@ -365,8 +365,7 @@ int32_t MediaCodecVideoEncoder::InitEncode(
codec_mode_ = codec_settings->mode;
int init_width = codec_settings->width;
int init_height = codec_settings->height;
scale_ = (codecType_ != kVideoCodecVP9) && (webrtc::field_trial::FindFullName(
"WebRTC-MediaCodecVideoEncoder-AutomaticResize") == "Enabled");
scale_ = codecType_ != kVideoCodecVP9;
ALOGD << "InitEncode request: " << init_width << " x " << init_height;
ALOGD << "Encoder automatic resize " << (scale_ ? "enabled" : "disabled");