DescriptionMac VideoCapture: return empty GetModel() for non-USB non-built-in cameras.
This CL adds support for storage of the camera connection
information in the devices' names enumeration and subsequently
in the VideoCaptureDevice::Name structure.
-[AVCaptureDevice transportType] indicates the connection type
to the camera: USB, Built-in, PCI, etc. Note that this info is only
available for AVFoundation API and not for QTKit.
Chromium style check forces to move complex constructors
and destructors from video_capture_device.h to .cc.
TEST: Verify that the FaceTime Built-in HD (USB) used in
MBA >=2013 does not show incorrect modelID and vendorID
in the camera name -- those fields should be empty since
they only exist for USB or built-in cameras..
BUG=336651
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282063
Patch Set 1 : #
Total comments: 14
Patch Set 2 : rsesek@ comments #
Total comments: 8
Patch Set 3 : #
Total comments: 4
Patch Set 4 : nits #Patch Set 5 : Rebased #Patch Set 6 : FakeVCD and FileVCD specify AVFoundation API type. #Messages
Total messages: 37 (0 generated)
|