Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4215)

Unified Diff: remoting/host/chromoting_host.cc

Issue 331853009: Add enable_vp9 option to host config. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/host/chromoting_host.cc
diff --git a/remoting/host/chromoting_host.cc b/remoting/host/chromoting_host.cc
index 942e643e7c1dc35ea4bfaa15ae6b647bbcf69e19..6558dbb1c5de20ef3525bce125fb4bf8a2183f6e 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();
}

Powered by Google App Engine
This is Rietveld 408576698