Commit 94540894 authored by mcasas's avatar mcasas Committed by Commit bot

Mac Video Capture: Connect AVFoundation for Dev Channel builds

BUG=408089

Review URL: https://codereview.chromium.org/530983002

Cr-Commit-Position: refs/heads/master@{#292919}
parent 5ef7c0af
......@@ -301,11 +301,13 @@ MediaCaptureDevicesDispatcher::MediaCaptureDevicesDispatcher()
content::NotificationService::AllSources());
// AVFoundation is used for video/audio device monitoring and video capture in
// Mac. Experimentally, connect it in Canary and Unknown (developer builds).
// Mac. Experimentally, connect it in Dev, Canary and Unknown (developer
// builds).
#if defined(OS_MACOSX)
chrome::VersionInfo::Channel channel = chrome::VersionInfo::GetChannel();
if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kForceQTKit)) {
if (channel == chrome::VersionInfo::CHANNEL_CANARY ||
if (channel == chrome::VersionInfo::CHANNEL_DEV ||
channel == chrome::VersionInfo::CHANNEL_CANARY ||
channel == chrome::VersionInfo::CHANNEL_UNKNOWN) {
CommandLine::ForCurrentProcess()->AppendSwitch(
switches::kEnableAVFoundation);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment