diff options
author | wez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-17 22:02:44 +0000 |
---|---|---|
committer | wez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-17 22:02:44 +0000 |
commit | 36d3f2a0a0480c2b281a3e70d20ba0ed6c059f8b (patch) | |
tree | c4fc16c711852f8344463f0f2f8fcf92cc2e7df0 /remoting/host/chromoting_host.cc | |
parent | 061a496e68ef31d6cf7497cc772b15791c56deb2 (diff) | |
download | chromium_src-36d3f2a0a0480c2b281a3e70d20ba0ed6c059f8b.zip chromium_src-36d3f2a0a0480c2b281a3e70d20ba0ed6c059f8b.tar.gz chromium_src-36d3f2a0a0480c2b281a3e70d20ba0ed6c059f8b.tar.bz2 |
Add enable_vp9 option to host config.
Review URL: https://codereview.chromium.org/331853009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277876 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/chromoting_host.cc')
-rw-r--r-- | remoting/host/chromoting_host.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/remoting/host/chromoting_host.cc b/remoting/host/chromoting_host.cc index 942e643..6558dbb 100644 --- a/remoting/host/chromoting_host.cc +++ b/remoting/host/chromoting_host.cc @@ -31,8 +31,6 @@ namespace remoting { namespace { -const char kEnableVp9SwitchName[] = "enable-vp9"; - const net::BackoffEntry::Policy kDefaultBackoffPolicy = { // Number of initial errors (in sequence) to ignore before applying // exponential back-off rules. @@ -92,11 +90,6 @@ ChromotingHost::ChromotingHost( jingle_glue::JingleThreadWrapper::EnsureForCurrentMessageLoop(); - // Enable VP9 if specified on the command-line. - if (CommandLine::ForCurrentProcess()->HasSwitch(kEnableVp9SwitchName)) { - protocol_config_->EnableVideoCodec(protocol::ChannelConfig::CODEC_VP9); - } - if (!desktop_environment_factory_->SupportsAudioCapture()) { protocol_config_->DisableAudioChannel(); } |