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

Side by Side Diff: media/base/media_switches.cc

Issue 1431193003: Add runtime flag for choosing WMPI or WMPA. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Order. Created 5 years, 1 month 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/base/media_switches.h" 5 #include "media/base/media_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // Allow users to specify a custom buffer size for debugging purpose. 9 // Allow users to specify a custom buffer size for debugging purpose.
10 const char kAudioBufferSize[] = "audio-buffer-size"; 10 const char kAudioBufferSize[] = "audio-buffer-size";
11 11
12 // Set number of threads to use for video decoding. 12 // Set number of threads to use for video decoding.
13 const char kVideoThreads[] = "video-threads"; 13 const char kVideoThreads[] = "video-threads";
14 14
15 #if defined(OS_ANDROID) 15 #if defined(OS_ANDROID)
16 // Sets the MediaSource player that uses UI thread for frame processing. 16 // Sets the MediaSource player that uses UI thread for frame processing.
17 const char kDisableMediaThreadForMediaPlayback[] = 17 const char kDisableMediaThreadForMediaPlayback[] =
18 "disable-media-thread-for-media-playback"; 18 "disable-media-thread-for-media-playback";
19 19
20 // Sets the MediaSource player that uses the separate media thread 20 // Sets the MediaSource player that uses the separate media thread
21 const char kEnableMediaThreadForMediaPlayback[] = 21 const char kEnableMediaThreadForMediaPlayback[] =
22 "enable-media-thread-for-media-playback"; 22 "enable-media-thread-for-media-playback";
23
24 // Use WebMediaPlayerImpl instead of WebMediaPlayerAndroid. This is a temporary
25 // switch for experimenting with unifying the Android playback pipeline.
26 const char kEnableUnifiedMediaPipeline[] = "enable-unified-media-pipeline";
23 #endif 27 #endif
24 28
25 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) 29 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS)
26 // The Alsa device to use when opening an audio input stream. 30 // The Alsa device to use when opening an audio input stream.
27 const char kAlsaInputDevice[] = "alsa-input-device"; 31 const char kAlsaInputDevice[] = "alsa-input-device";
28 // The Alsa device to use when opening an audio stream. 32 // The Alsa device to use when opening an audio stream.
29 const char kAlsaOutputDevice[] = "alsa-output-device"; 33 const char kAlsaOutputDevice[] = "alsa-output-device";
30 #endif 34 #endif
31 35
32 // Use GpuMemoryBuffers for Video Capture when this is an option for the device. 36 // Use GpuMemoryBuffers for Video Capture when this is an option for the device.
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 // declare the underflow state for the video stream when audio is present. 123 // declare the underflow state for the video stream when audio is present.
120 // TODO(dalecurtis): Remove once experiments for http://crbug.com/470940 finish. 124 // TODO(dalecurtis): Remove once experiments for http://crbug.com/470940 finish.
121 const char kVideoUnderflowThresholdMs[] = "video-underflow-threshold-ms"; 125 const char kVideoUnderflowThresholdMs[] = "video-underflow-threshold-ms";
122 126
123 // Disables the new rendering algorithm for webrtc, which is designed to improve 127 // Disables the new rendering algorithm for webrtc, which is designed to improve
124 // the rendering smoothness. 128 // the rendering smoothness.
125 const char kDisableRTCSmoothnessAlgorithm[] = 129 const char kDisableRTCSmoothnessAlgorithm[] =
126 "disable-rtc-smoothness-algorithm"; 130 "disable-rtc-smoothness-algorithm";
127 131
128 } // namespace switches 132 } // namespace switches
OLDNEW
« content/renderer/render_frame_impl.cc ('K') | « media/base/media_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698