mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-10 11:57:48 -03:00
Update media_switches.cc
This commit is contained in:
parent
3a6fc40fee
commit
f253ec5891
1 changed files with 7 additions and 6 deletions
|
@ -245,6 +245,12 @@ const char kHardwareVideoDecodeFrameRate[] = "hardware-video-decode-framerate";
|
||||||
|
|
||||||
namespace media {
|
namespace media {
|
||||||
|
|
||||||
|
#if BUILDFLAG(ENABLE_PLATFORM_HEVC) && BUILDFLAG(IS_ANDROID)
|
||||||
|
// Enables android HW decoding of HEVC content.
|
||||||
|
const base::Feature kMediaCodecHEVC{"AndroidHEVC",
|
||||||
|
base::FEATURE_DISABLED_BY_DEFAULT};
|
||||||
|
#endif // BUILDFLAG(ENABLE_PLATFORM_HEVC) && BUILDFLAG(IS_ANDROID)
|
||||||
|
|
||||||
// Prefer FFmpeg to LibVPX for Vp8 decoding with opaque alpha mode.
|
// Prefer FFmpeg to LibVPX for Vp8 decoding with opaque alpha mode.
|
||||||
const base::Feature kFFmpegDecodeOpaqueVP8{"FFmpegDecodeOpaqueVP8",
|
const base::Feature kFFmpegDecodeOpaqueVP8{"FFmpegDecodeOpaqueVP8",
|
||||||
base::FEATURE_ENABLED_BY_DEFAULT};
|
base::FEATURE_ENABLED_BY_DEFAULT};
|
||||||
|
@ -253,11 +259,6 @@ const base::Feature kFFmpegDecodeOpaqueVP8{"FFmpegDecodeOpaqueVP8",
|
||||||
const base::Feature kOverlayFullscreenVideo{"overlay-fullscreen-video",
|
const base::Feature kOverlayFullscreenVideo{"overlay-fullscreen-video",
|
||||||
base::FEATURE_ENABLED_BY_DEFAULT};
|
base::FEATURE_ENABLED_BY_DEFAULT};
|
||||||
|
|
||||||
// Use a LocalMediaStreamAudioSource for getDisplayMedia captures with audio.
|
|
||||||
// TODO(crbug.com/1313841): Remove this after M107 branch point.
|
|
||||||
const base::Feature kDisplayAudioUseLocalAudioSource{
|
|
||||||
"DisplayAudioUseLocalAudioSource", base::FEATURE_ENABLED_BY_DEFAULT};
|
|
||||||
|
|
||||||
// Enables user control over muting tab audio from the tab strip.
|
// Enables user control over muting tab audio from the tab strip.
|
||||||
const base::Feature kEnableTabMuting{"EnableTabMuting",
|
const base::Feature kEnableTabMuting{"EnableTabMuting",
|
||||||
base::FEATURE_ENABLED_BY_DEFAULT};
|
base::FEATURE_ENABLED_BY_DEFAULT};
|
||||||
|
@ -594,7 +595,7 @@ const base::Feature kLiveCaption{"LiveCaption",
|
||||||
// tab instead" button is shown for chrome.desktopCapture captures.
|
// tab instead" button is shown for chrome.desktopCapture captures.
|
||||||
const base::Feature kShareThisTabInsteadButtonGetDisplayMedia{
|
const base::Feature kShareThisTabInsteadButtonGetDisplayMedia{
|
||||||
"ShareThisTabInsteadButtonGetDisplayMedia",
|
"ShareThisTabInsteadButtonGetDisplayMedia",
|
||||||
base::FEATURE_ENABLED_BY_DEFAULT};
|
base::FEATURE_DISABLED_BY_DEFAULT};
|
||||||
|
|
||||||
// If kShareThisTabInsteadButtonGetDisplayMedia is ENABLED, this flag controls
|
// If kShareThisTabInsteadButtonGetDisplayMedia is ENABLED, this flag controls
|
||||||
// whether a "Share this tab instead" button should be enabled for
|
// whether a "Share this tab instead" button should be enabled for
|
||||||
|
|
Loading…
Reference in a new issue