Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(518)

Issue 8177008: Adding VideoCaptureDevice for Mac. (Closed)

Created:
9 years, 2 months ago by mflodman_chromium_OOO
Modified:
9 years, 2 months ago
CC:
chromium-reviews, hclam+watch_chromium.org, ddorwin+watch_chromium.org, fischman+watch_chromium.org, Paweł Hajdan Jr., acolwell+watch_chromium.org, annacc+watch_chromium.org, ajwong+watch_chromium.org, vrk (LEFT CHROMIUM), wjia(left Chromium)
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Adding VideoCaptureDevice for Mac. Adding dependency on QTKit and CoreVideo. BUG= TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=106036

Patch Set 1 #

Total comments: 60

Patch Set 2 : Changes based on review by dmac. #

Total comments: 43

Patch Set 3 : Changes based on comments by dmac and scherkus. #

Total comments: 10

Patch Set 4 : Changes based on review by dmac. #

Patch Set 5 : Unittest changes to run on Mac OS X. #

Total comments: 20

Patch Set 6 : Added PostQuitTask to unittest. #

Total comments: 20

Patch Set 7 : "Changes based no review by dmac." #

Patch Set 8 : Test change: PostTask instead of PostDelayedTask. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+480 lines, -5 lines) Patch
M media/media.gyp View 5 3 chunks +7 lines, -1 line 0 comments Download
A media/video/capture/mac/video_capture_device_mac.h View 1 2 1 chunk +65 lines, -0 lines 0 comments Download
A media/video/capture/mac/video_capture_device_mac.mm View 1 2 3 4 5 6 1 chunk +146 lines, -0 lines 0 comments Download
A media/video/capture/mac/video_capture_device_mac_qtkit.h View 1 2 3 1 chunk +55 lines, -0 lines 0 comments Download
A media/video/capture/mac/video_capture_device_mac_qtkit.mm View 1 2 3 4 5 6 1 chunk +176 lines, -0 lines 0 comments Download
M media/video/capture/video_capture_device_unittest.cc View 1 2 3 4 5 6 7 10 chunks +31 lines, -4 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
dmac
http://codereview.chromium.org/8177008/diff/1/media/video/capture/mac/video_capture_device_mac.h File media/video/capture/mac/video_capture_device_mac.h (right): http://codereview.chromium.org/8177008/diff/1/media/video/capture/mac/video_capture_device_mac.h#newcode18 media/video/capture/mac/video_capture_device_mac.h:18: // Called by Video can we give it a ...
9 years, 2 months ago (2011-10-06 23:36:22 UTC) #1
dmac
Missed some stuff first pass http://codereview.chromium.org/8177008/diff/1/media/video/capture/mac/video_capture_device_mac_qtkit.h File media/video/capture/mac/video_capture_device_mac_qtkit.h (right): http://codereview.chromium.org/8177008/diff/1/media/video/capture/mac/video_capture_device_mac_qtkit.h#newcode10 media/video/capture/mac/video_capture_device_mac_qtkit.h:10: do you need all ...
9 years, 2 months ago (2011-10-06 23:42:04 UTC) #2
mflodman_chromium_OOO
Thanks for the review, lots of good comments and suggestions. I've addressed them ans I'll ...
9 years, 2 months ago (2011-10-07 13:03:51 UTC) #3
mflodman_chromium_OOO
Added comment for one thing to change in next upload. http://codereview.chromium.org/8177008/diff/7001/media/video/capture/mac/video_capture_device_mac.mm File media/video/capture/mac/video_capture_device_mac.mm (right): http://codereview.chromium.org/8177008/diff/7001/media/video/capture/mac/video_capture_device_mac.mm#newcode63 ...
9 years, 2 months ago (2011-10-07 15:15:29 UTC) #4
scherkus (not reviewing)
didn't really look at ObjC code but had a few nits/questions http://codereview.chromium.org/8177008/diff/7001/media/video/capture/mac/video_capture_device_mac.h File media/video/capture/mac/video_capture_device_mac.h (right): ...
9 years, 2 months ago (2011-10-07 17:17:55 UTC) #5
dmac
My comments totally mess with your interface, but I think it will really simplify this ...
9 years, 2 months ago (2011-10-07 17:38:54 UTC) #6
mflodman_chromium_OOO
Thanks for the comments! http://codereview.chromium.org/8177008/diff/7001/media/video/capture/mac/video_capture_device_mac.h File media/video/capture/mac/video_capture_device_mac.h (right): http://codereview.chromium.org/8177008/diff/7001/media/video/capture/mac/video_capture_device_mac.h#newcode5 media/video/capture/mac/video_capture_device_mac.h:5: // OS X implementaion of ...
9 years, 2 months ago (2011-10-10 12:56:52 UTC) #7
mflodman_chromium_OOO
Added comment while waiting for next upload. http://codereview.chromium.org/8177008/diff/11001/media/video/capture/mac/video_capture_device_mac_qtkit.h File media/video/capture/mac/video_capture_device_mac_qtkit.h (right): http://codereview.chromium.org/8177008/diff/11001/media/video/capture/mac/video_capture_device_mac_qtkit.h#newcode44 media/video/capture/mac/video_capture_device_mac_qtkit.h:44: // Configures ...
9 years, 2 months ago (2011-10-10 17:23:28 UTC) #8
dmac
http://codereview.chromium.org/8177008/diff/7001/media/video/capture/mac/video_capture_device_mac_qtkit.h File media/video/capture/mac/video_capture_device_mac_qtkit.h (right): http://codereview.chromium.org/8177008/diff/7001/media/video/capture/mac/video_capture_device_mac_qtkit.h#newcode31 media/video/capture/mac/video_capture_device_mac_qtkit.h:31: QTCaptureDeviceInput *captureDeviceInput_; On 2011/10/10 12:56:52, mflodman wrote: > input ...
9 years, 2 months ago (2011-10-11 00:25:47 UTC) #9
mflodman_chromium_OOO
More changes based on review by dmac. Still looking at the test... http://codereview.chromium.org/8177008/diff/11001/media/video/capture/mac/video_capture_device_mac.mm File media/video/capture/mac/video_capture_device_mac.mm ...
9 years, 2 months ago (2011-10-12 19:21:31 UTC) #10
mflodman_chromium_OOO
Modified unittest and added test helper to be able to run on Mac.
9 years, 2 months ago (2011-10-13 17:38:14 UTC) #11
dmac
http://codereview.chromium.org/8177008/diff/22001/media/video/capture/mac/video_capture_device_mac_qtkit.mm File media/video/capture/mac/video_capture_device_mac_qtkit.mm (right): http://codereview.chromium.org/8177008/diff/22001/media/video/capture/mac/video_capture_device_mac_qtkit.mm#newcode15 media/video/capture/mac/video_capture_device_mac_qtkit.mm:15: - (void)dealloc { please move dealloc down under init ...
9 years, 2 months ago (2011-10-14 23:31:34 UTC) #12
mflodman_chromium_OOO
Smaller changes + changed autotest to post quit task. http://codereview.chromium.org/8177008/diff/22001/media/video/capture/mac/video_capture_device_mac_qtkit.mm File media/video/capture/mac/video_capture_device_mac_qtkit.mm (right): http://codereview.chromium.org/8177008/diff/22001/media/video/capture/mac/video_capture_device_mac_qtkit.mm#newcode15 media/video/capture/mac/video_capture_device_mac_qtkit.mm:15: ...
9 years, 2 months ago (2011-10-16 21:58:38 UTC) #13
dmac
You can ignore the things marked with NIT if you want. Just me being pedantic. ...
9 years, 2 months ago (2011-10-17 17:02:29 UTC) #14
mflodman_chromium_OOO
Changes to objective-c init and some nits. http://codereview.chromium.org/8177008/diff/30001/media/video/capture/mac/video_capture_device_mac.mm File media/video/capture/mac/video_capture_device_mac.mm (right): http://codereview.chromium.org/8177008/diff/30001/media/video/capture/mac/video_capture_device_mac.mm#newcode18 media/video/capture/mac/video_capture_device_mac.mm:18: // TODO(mflodman) ...
9 years, 2 months ago (2011-10-17 18:40:38 UTC) #15
dmac
LGTM
9 years, 2 months ago (2011-10-17 20:34:13 UTC) #16
scherkus (not reviewing)
9 years, 2 months ago (2011-10-18 03:34:54 UTC) #17
lgtm

Powered by Google App Engine
This is Rietveld 408576698