Commit 40ba1dc5 authored by Guido Urdaneta's avatar Guido Urdaneta Committed by Commit Bot

Disable caching of video-device enumerations on Mac.

There is an issue with the Mac video device monitor that is causing
cache inconsistencies.

Bug: 834581
Change-Id: Idc1a0d953509fee7787fb07d19376d4800f76939
Reviewed-on: https://chromium-review.googlesource.com/1023855Reviewed-by: default avatarHenrik Boström <hbos@chromium.org>
Commit-Queue: Guido Urdaneta <guidou@chromium.org>
Cr-Commit-Position: refs/heads/master@{#552689}
parent 13871907
...@@ -396,6 +396,9 @@ void MediaDevicesManager::StartMonitoring() { ...@@ -396,6 +396,9 @@ void MediaDevicesManager::StartMonitoring() {
} }
#if defined(OS_MACOSX) #if defined(OS_MACOSX)
// TODO(crbug.com/835765): Do not force NO_CACHE for video input once the
// monitor for video-input devices is fixed.
SetCachePolicy(MEDIA_DEVICE_TYPE_VIDEO_INPUT, CachePolicy::NO_CACHE);
BrowserThread::PostTask( BrowserThread::PostTask(
BrowserThread::UI, FROM_HERE, BrowserThread::UI, FROM_HERE,
base::Bind(&MediaDevicesManager::StartMonitoringOnUIThread, base::Bind(&MediaDevicesManager::StartMonitoringOnUIThread,
......
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