Mac QTKit Video Capture: Force BlackMagic cameras to be opened in HD
commit41874c23859b9a333bb6e6f48c9f815fe8c90c7d
authormcasas@chromium.org <mcasas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 14 Aug 2014 14:07:12 +0000 (14 14:07 +0000)
committermcasas@chromium.org <mcasas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 14 Aug 2014 14:09:02 +0000 (14 14:09 +0000)
tree74e471566c58a327694da5cb8d8f90fe2eee7d5f
parent10d65b1601afa4f45fedb12b499c766bb0cbccdb
Mac QTKit Video Capture: Force BlackMagic cameras to be opened in HD

This is a refry of http://crrev.com/410363002, original description:
>Force BlackMagic cameras to be opened in HD
>
>The Blackmagic driver causes a crash in QTKit when opened in VGA
>when NTSC/PAL 10-bit is selected.  QTKit does not allow us to query a
>device's supported resolution, so this change adds BlackMagic to another
>blacklist so that it is always opened in HD.

In this continuation CL, Blacklisted QTKit devices are found during
enumeration and flagged, so
a) a special capability list is cooked for them, only including HD,
b) they are not reconfigured on opening/capturing.

BUG=396812, 347371
COLLABORATOR= vrk@chromium.org
R=tommi@chromium.org, vrk@chromium.org

Review URL: https://codereview.chromium.org/468833002

Cr-Commit-Position: refs/heads/master@{#289552}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289552 0039d316-1c4b-4281-b951-d872f2087c98
media/video/capture/mac/video_capture_device_factory_mac.mm
media/video/capture/mac/video_capture_device_mac.mm
media/video/capture/video_capture_device.cc
media/video/capture/video_capture_device.h