diff options
author | mcasas@chromium.org <mcasas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-12 20:24:11 +0000 |
---|---|---|
committer | mcasas@chromium.org <mcasas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-12 20:24:11 +0000 |
commit | 0039b0be19049b246b7a2b49e2443e4463b69bdb (patch) | |
tree | 7a5e59c7b409f8ef0cb9ceebab316649b0514ce2 /media/video | |
parent | 3836d989de971e5b7e7458c92649a7ae26283470 (diff) | |
download | chromium_src-0039b0be19049b246b7a2b49e2443e4463b69bdb.zip chromium_src-0039b0be19049b246b7a2b49e2443e4463b69bdb.tar.gz chromium_src-0039b0be19049b246b7a2b49e2443e4463b69bdb.tar.bz2 |
Mac AVFoundation: disabled by default;
This CL changes AVFoundation to be disabled by default and flips the flag
(and associated chrome://flags) to "enable-avfoundation". This should
address the performance regressions in the bugs.
This also affects the webrtc apprtc browser test(s), where AVFoundation was
disabled for ManyCam fake webcam to work properly. Same applies to
webrtc browser tests and webrtc quality browser tests.
BUG=288562, 348020, 349616, 342790, 327618
Review URL: https://codereview.chromium.org/189623011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256624 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/video')
-rw-r--r-- | media/video/capture/mac/avfoundation_glue.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/media/video/capture/mac/avfoundation_glue.mm b/media/video/capture/mac/avfoundation_glue.mm index 706fb1e..7373a661 100644 --- a/media/video/capture/mac/avfoundation_glue.mm +++ b/media/video/capture/mac/avfoundation_glue.mm @@ -122,8 +122,8 @@ bool AVFoundationGlue::IsAVFoundationSupported() { // DeviceMonitorMac will initialize this static bool from the main UI thread // once, during Chrome startup so this construction is thread safe. static bool is_av_foundation_supported = base::mac::IsOSLionOrLater() && - !CommandLine::ForCurrentProcess()->HasSwitch( - switches::kDisableAVFoundation) && [AVFoundationBundle() load]; + CommandLine::ForCurrentProcess()->HasSwitch( + switches::kEnableAVFoundation) && [AVFoundationBundle() load]; return is_av_foundation_supported; } |