DescriptionAdded supported formats caching to VideoCaptureManager, and
adapted code to cideo_capture_types.{h,cc} reorganization.
Rewritten http://crrev.com/29423003 for the new structure of
video_capture_types.h: The device's capabilities are turned into
a vector of supported formats. No new code is added, the
previously reviewed one is adapted.
VideoCaptureCapability class is not used anymore, so removed (I
tried to make very evident every time I use VideoCaptureFormat
as a supported format).
VideoCaptureLinux and FakeVCD are also adapted, originally the
code for retrieving their caps comes from http://crrev.com/24079003
1 VCM unittest disabled for Mac Valgrind: Underlying FakeVCD
hits a SIGSEGV at the end of this test in Mac Valgrind bot,
see http://crbug.com/319955. Possibly associated to FakeVCD
races, re-enable this test after http://crbug.com/323893,
ongoing http://crrev.com/91523002.
NOTE: Time ago a bug was filed against this code due to chrome OS
new user's take-a-picture would not show anything. I just verified
this seems to work now.
BUG=289494, 309554
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=240395
Patch Set 1 : #
Total comments: 10
Patch Set 2 : Rebased FakeVCD. Reconnected VCManager unittest for all platforms. #
Total comments: 12
Patch Set 3 : scherkus@ comments. #Patch Set 4 : Rebased. #Patch Set 5 : Mad formatting corrected in certain files. #
Total comments: 10
Patch Set 6 : perkj@ nits #Messages
Total messages: 14 (0 generated)
|