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

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

Issue 1097913002: Remove kIgnoreResolutionLimitsForAcceleratedVideoDecode flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address Pawel's comments Created 5 years, 7 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 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 // Bypass autodetection of the upper limit on resolution of streams that can
16 // be hardware decoded.
17 const char kIgnoreResolutionLimitsForAcceleratedVideoDecode[] =
18 "ignore-resolution-limits-for-accelerated-video-decode";
19
20 #if defined(OS_ANDROID) 15 #if defined(OS_ANDROID)
21 // Disables the infobar popup for accessing protected media identifier. 16 // Disables the infobar popup for accessing protected media identifier.
22 const char kDisableInfobarForProtectedMediaIdentifier[] = 17 const char kDisableInfobarForProtectedMediaIdentifier[] =
23 "disable-infobar-for-protected-media-identifier"; 18 "disable-infobar-for-protected-media-identifier";
24 #endif 19 #endif
25 20
26 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) 21 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS)
27 // The Alsa device to use when opening an audio input stream. 22 // The Alsa device to use when opening an audio input stream.
28 const char kAlsaInputDevice[] = "alsa-input-device"; 23 const char kAlsaInputDevice[] = "alsa-input-device";
29 // The Alsa device to use when opening an audio stream. 24 // The Alsa device to use when opening an audio stream.
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 // this flag will cause the tests to fail. Otherwise, they silently succeed. 100 // this flag will cause the tests to fail. Otherwise, they silently succeed.
106 const char kRequireAudioHardwareForTesting[] = 101 const char kRequireAudioHardwareForTesting[] =
107 "require-audio-hardware-for-testing"; 102 "require-audio-hardware-for-testing";
108 103
109 // Allows clients to override the threshold for when the media renderer will 104 // Allows clients to override the threshold for when the media renderer will
110 // declare the underflow state for the video stream when audio is present. 105 // declare the underflow state for the video stream when audio is present.
111 // TODO(dalecurtis): Remove once experiments for http://crbug.com/470940 finish. 106 // TODO(dalecurtis): Remove once experiments for http://crbug.com/470940 finish.
112 const char kVideoUnderflowThresholdMs[] = "video-underflow-threshold-ms"; 107 const char kVideoUnderflowThresholdMs[] = "video-underflow-threshold-ms";
113 108
114 } // namespace switches 109 } // namespace switches
OLDNEW
« content/common/gpu/media/v4l2_video_encode_accelerator.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