summaryrefslogtreecommitdiffstats
path: root/remoting/host/chromoting_host.cc
diff options
context:
space:
mode:
authorwez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-17 22:02:44 +0000
committerwez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-17 22:02:44 +0000
commit36d3f2a0a0480c2b281a3e70d20ba0ed6c059f8b (patch)
treec4fc16c711852f8344463f0f2f8fcf92cc2e7df0 /remoting/host/chromoting_host.cc
parent061a496e68ef31d6cf7497cc772b15791c56deb2 (diff)
downloadchromium_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.cc7
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();
}