| Index: media/video/capture/mac/video_capture_device_mac.mm
|
| diff --git a/media/video/capture/mac/video_capture_device_mac.mm b/media/video/capture/mac/video_capture_device_mac.mm
|
| index 1a65e990910aac11cf50c43983ec3d117ac30bf8..3e1915ba0afe383d72319b06f543a871364cf827 100644
|
| --- a/media/video/capture/mac/video_capture_device_mac.mm
|
| +++ b/media/video/capture/mac/video_capture_device_mac.mm
|
| @@ -87,7 +87,8 @@ void VideoCaptureDevice::GetDeviceNames(Names* device_names) {
|
| // Extract the device's Vendor ID and compare to all blacklisted ones.
|
| device_vid = name.GetModel().substr(0, kVidPidSize);
|
| for (size_t i = 0; i < arraysize(kBlacklistedCameras); ++i) {
|
| - is_any_device_blacklisted |= (device_vid == kBlacklistedCameras[i].vid);
|
| + is_any_device_blacklisted |=
|
| + !strcasecmp(device_vid.c_str(), kBlacklistedCameras[i].vid);
|
| if (is_any_device_blacklisted)
|
| break;
|
| }
|
|
|