diff options
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; } |