Fix vp8 complexity parameter on android

BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/575007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2217 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
leozwang@webrtc.org 2012-05-10 18:12:01 +00:00
parent a69634aa92
commit f29d3fa177

View File

@ -268,6 +268,11 @@ int VP8Encoder::InitEncode(const VideoCodec* inst,
cpu_speed_ = -6;
break;
}
#ifdef WEBRTC_ANDROID
// On mobile platform, always set to -12 to leverage between cpu usage
// and video quality
cpu_speed_ = -12;
#endif
rps_->Init();
return InitAndSetControlSettings(inst);
}