Video Capture: Don't include IR cameras in device enumeration by default
This CL updates the MFAttributes we use for video capture on Windows. By default, we only include MFAttributes for RGB color cameras. So, the resulting device enumeration contains only RGB cameras. When the newly added `kIncludeIRCamerasInDeviceEnumeration` feature flag is enabled, we also include MFAttributes for IR cameras. The resulting device enumeration contains both RGB and IR cameras. Testing: Created versions of the GetDevicesInfo unittest with the feature flag enabled, and with it disabled. Bug: 1144049 Change-Id: Id234413f5125e866be5177141decfc9a68bc2fd8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2631409Reviewed-by:Mounir Lamouri <mlamouri@chromium.org> Reviewed-by:
Guido Urdaneta <guidou@chromium.org> Commit-Queue: Rahul Singh <rahsin@microsoft.com> Cr-Commit-Position: refs/heads/master@{#846260}
Showing
Please register or sign in to comment