diff options
author | qiangchen <qiangchen@chromium.org> | 2015-07-29 13:55:18 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-29 20:56:23 +0000 |
commit | 96cc37bc02d9f6a2c4376b437435ffb92ea9e2c6 (patch) | |
tree | 1dc365efc2f08b0a4d503b184e15689af224119d | |
parent | aab9d6366d55b951ba0488a4bd46a1cb3754fa05 (diff) | |
download | chromium_src-96cc37bc02d9f6a2c4376b437435ffb92ea9e2c6.zip chromium_src-96cc37bc02d9f6a2c4376b437435ffb92ea9e2c6.tar.gz chromium_src-96cc37bc02d9f6a2c4376b437435ffb92ea9e2c6.tar.bz2 |
Make a flag enable-rtc-smoothness-algorithm for the new rendering algorithm.
BUG=514873
Review URL: https://codereview.chromium.org/1261633003
Cr-Commit-Position: refs/heads/master@{#340979}
-rw-r--r-- | content/browser/renderer_host/render_process_host_impl.cc | 1 | ||||
-rw-r--r-- | media/base/media_switches.cc | 4 | ||||
-rw-r--r-- | media/base/media_switches.h | 2 |
3 files changed, 7 insertions, 0 deletions
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc index 4666d75..79f1c3c 100644 --- a/content/browser/renderer_host/render_process_host_impl.cc +++ b/content/browser/renderer_host/render_process_host_impl.cc @@ -1287,6 +1287,7 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer( switches::kEnablePreferCompositingToLCDText, switches::kEnablePushMessagePayload, switches::kEnableRendererMojoChannel, + switches::kEnableRTCSmoothnessAlgorithm, switches::kEnableSeccompFilterSandbox, switches::kEnableSkiaBenchmarking, switches::kEnableSlimmingPaint, diff --git a/media/base/media_switches.cc b/media/base/media_switches.cc index 4d2128c..fb2363b 100644 --- a/media/base/media_switches.cc +++ b/media/base/media_switches.cc @@ -119,4 +119,8 @@ const char kRequireAudioHardwareForTesting[] = // TODO(dalecurtis): Remove once experiments for http://crbug.com/470940 finish. const char kVideoUnderflowThresholdMs[] = "video-underflow-threshold-ms"; +// Use the new rendering algorithm for webrtc, which is designed to improve +// smoothness. +const char kEnableRTCSmoothnessAlgorithm[] = "enable-rtc-smoothness-algorithm"; + } // namespace switches diff --git a/media/base/media_switches.h b/media/base/media_switches.h index c8c8488..a5a4095 100644 --- a/media/base/media_switches.h +++ b/media/base/media_switches.h @@ -59,6 +59,8 @@ MEDIA_EXPORT extern const char kRequireAudioHardwareForTesting[]; MEDIA_EXPORT extern const char kVideoUnderflowThresholdMs[]; +MEDIA_EXPORT extern const char kEnableRTCSmoothnessAlgorithm[]; + } // namespace switches #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ |