| Index: media/video/capture/mac/video_capture_device_qtkit_mac.mm
|
| diff --git a/media/video/capture/mac/video_capture_device_qtkit_mac.mm b/media/video/capture/mac/video_capture_device_qtkit_mac.mm
|
| index c884c723df5cb0afa5964551163f9ba8480c523a..599cfac59eefb52ba42012ac42b032ad86071f02 100644
|
| --- a/media/video/capture/mac/video_capture_device_qtkit_mac.mm
|
| +++ b/media/video/capture/mac/video_capture_device_qtkit_mac.mm
|
| @@ -29,9 +29,15 @@
|
| });
|
|
|
| for (QTCaptureDevice* device in captureDevices) {
|
| - if (![[device attributeForKey:QTCaptureDeviceSuspendedAttribute] boolValue])
|
| - [deviceNames setObject:[device localizedDisplayName]
|
| - forKey:[device uniqueID]];
|
| + if ([[device attributeForKey:QTCaptureDeviceSuspendedAttribute] boolValue])
|
| + continue;
|
| + DeviceNameAndTransportType* nameAndTransportType =
|
| + [[[DeviceNameAndTransportType alloc]
|
| + initWithName:[device localizedDisplayName]
|
| + transportType:media::kIOAudioDeviceTransportTypeUnknown]
|
| + autorelease];
|
| + [deviceNames setObject:nameAndTransportType
|
| + forKey:[device uniqueID]];
|
| }
|
| }
|
|
|
|
|