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

Issue 10035054: Merge VideoCaptureDevice::Capability with media::VideoCaptureCapability (Closed)

Created:
8 years, 8 months ago by Jeremy Mao
Modified:
8 years, 8 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, feature-media-reviews_chromium.org, jam, darin-cc_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Merge VideoCaptureDevice::Capability with media::VideoCaptureCapability This is a second patch as the follow up of http://codereview.chromium.org/10108009/, just to facilitate code review 1. Move VideoCaptureDevice::Format to VideoCaptureCapability::Format. 2. Fix a code style issue in media_stream_device_settings.h. 3. Remove the TODO comments in media_stream_device_settings.h, since the media stream infobar is already implemented in linux and windows. BUG=123738 TEST=content_unittests, media_unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=134415

Patch Set 1 #

Total comments: 1

Patch Set 2 : refactor #

Total comments: 1

Patch Set 3 : rebased code and addressed scherkus's comments #

Total comments: 2

Patch Set 4 : fixed comments #

Patch Set 5 : fix a namespace issue #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -113 lines) Patch
M content/browser/renderer_host/media/media_stream_device_settings.h View 1 2 3 2 chunks +7 lines, -15 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_controller.h View 3 chunks +3 lines, -3 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_controller.cc View 1 2 5 chunks +9 lines, -9 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_manager_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/capture_video_decoder.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/capture_video_decoder_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/media_stream_impl.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/video_capture_impl.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/video_capture_impl.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/media/video_capture_impl_unittest.cc View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M content/renderer/media/video_capture_module_impl.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M media/video/capture/fake_video_capture_device.cc View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M media/video/capture/linux/video_capture_device_linux.h View 1 chunk +1 line, -0 lines 0 comments Download
M media/video/capture/linux/video_capture_device_linux.cc View 1 2 2 chunks +8 lines, -6 lines 0 comments Download
M media/video/capture/mac/video_capture_device_mac.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M media/video/capture/mac/video_capture_device_mac.mm View 1 2 2 chunks +8 lines, -5 lines 0 comments Download
M media/video/capture/mac/video_capture_device_qtkit_mac.mm View 1 2 3 4 2 chunks +5 lines, -2 lines 0 comments Download
M media/video/capture/video_capture_device.h View 1 2 3 chunks +2 lines, -27 lines 0 comments Download
M media/video/capture/video_capture_device_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M media/video/capture/video_capture_types.h View 1 2 1 chunk +14 lines, -1 line 0 comments Download
M media/video/capture/win/sink_filter_win.h View 1 2 chunks +3 lines, -2 lines 0 comments Download
M media/video/capture/win/sink_filter_win.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M media/video/capture/win/sink_input_pin_win.h View 1 2 3 3 chunks +5 lines, -5 lines 0 comments Download
M media/video/capture/win/sink_input_pin_win.cc View 1 2 2 chunks +11 lines, -6 lines 0 comments Download
M media/video/capture/win/video_capture_device_win.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M media/video/capture/win/video_capture_device_win.cc View 1 2 8 chunks +15 lines, -12 lines 0 comments Download
M webkit/plugins/ppapi/ppb_video_capture_impl.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 21 (0 generated)
Jeremy Mao
Hi wjia, scherkus, Could please kindly take a look at this when you are free? ...
8 years, 8 months ago (2012-04-19 05:36:37 UTC) #1
scherkus (not reviewing)
http://codereview.chromium.org/10035054/diff/1/media/base/video_frame.h File media/base/video_frame.h (right): http://codereview.chromium.org/10035054/diff/1/media/base/video_frame.h#newcode40 media/base/video_frame.h:40: kColorUnknown, // Color format not set. does the capture ...
8 years, 8 months ago (2012-04-19 19:09:35 UTC) #2
wjia(left Chromium)
On Thu, Apr 19, 2012 at 12:09 PM, <scherkus@chromium.org> wrote: > > http://codereview.chromium.**org/10035054/diff/1/media/** > base/video_frame.h<http://codereview.chromium.org/10035054/diff/1/media/base/video_frame.h> ...
8 years, 8 months ago (2012-04-19 22:02:28 UTC) #3
Jeremy Mao
On 2012/04/19 19:09:35, scherkus wrote: > http://codereview.chromium.org/10035054/diff/1/media/base/video_frame.h > File media/base/video_frame.h (right): > > http://codereview.chromium.org/10035054/diff/1/media/base/video_frame.h#newcode40 > ...
8 years, 8 months ago (2012-04-20 02:23:32 UTC) #4
Jeremy Mao
Hi wjia, scherkus, Do you think it's the best way to keep "VideoColorFormat" info in ...
8 years, 8 months ago (2012-04-25 07:50:26 UTC) #5
scherkus (not reviewing)
On 2012/04/25 07:50:26, Jeremy Mao wrote: > Hi wjia, scherkus, > > Do you think ...
8 years, 8 months ago (2012-04-25 16:49:08 UTC) #6
Jeremy Mao
Sorry for the inconvenience, the changed files seem a little bit more. :) Hi wjia, ...
8 years, 8 months ago (2012-04-26 07:32:01 UTC) #7
piman
On 2012/04/26 07:32:01, Jeremy Mao wrote: > Sorry for the inconvenience, the changed files seem ...
8 years, 8 months ago (2012-04-26 09:09:17 UTC) #8
wjia(left Chromium)
On 2012/04/25 16:49:08, scherkus wrote: > On 2012/04/25 07:50:26, Jeremy Mao wrote: > > Hi ...
8 years, 8 months ago (2012-04-26 18:19:40 UTC) #9
wjia(left Chromium)
LGTM. Thanks! One nit: it might be better to have media::VideoCaptureFormat or media::VideoCapture::Format, instead of ...
8 years, 8 months ago (2012-04-26 20:06:32 UTC) #10
scherkus (not reviewing)
http://codereview.chromium.org/10035054/diff/9001/media/video/capture/video_capture_types.h File media/video/capture/video_capture_types.h (right): http://codereview.chromium.org/10035054/diff/9001/media/video/capture/video_capture_types.h#newcode25 media/video/capture/video_capture_types.h:25: enum Format { this is not good and pollutes ...
8 years, 8 months ago (2012-04-26 20:28:38 UTC) #11
Jeremy Mao
On 2012/04/26 20:28:38, scherkus wrote: > http://codereview.chromium.org/10035054/diff/9001/media/video/capture/video_capture_types.h > File media/video/capture/video_capture_types.h (right): > > http://codereview.chromium.org/10035054/diff/9001/media/video/capture/video_capture_types.h#newcode25 > ...
8 years, 8 months ago (2012-04-27 02:58:13 UTC) #12
mflodman_chromium_OOO
One small comment regarding the comment in media_stream_device_settings.h. http://codereview.chromium.org/10035054/diff/20001/content/browser/renderer_host/media/media_stream_device_settings.h File content/browser/renderer_host/media/media_stream_device_settings.h (right): http://codereview.chromium.org/10035054/diff/20001/content/browser/renderer_host/media/media_stream_device_settings.h#newcode11 content/browser/renderer_host/media/media_stream_device_settings.h:11: // ...
8 years, 8 months ago (2012-04-27 14:39:17 UTC) #13
scherkus (not reviewing)
LGTM w/ one nit thanks!!! http://codereview.chromium.org/10035054/diff/20001/media/video/capture/win/sink_input_pin_win.h File media/video/capture/win/sink_input_pin_win.h (right): http://codereview.chromium.org/10035054/diff/20001/media/video/capture/win/sink_input_pin_win.h#newcode28 media/video/capture/win/sink_input_pin_win.h:28: void SetRequestedMediaCapability( nit: this ...
8 years, 8 months ago (2012-04-27 17:42:40 UTC) #14
mflodman_chromium_OOO
On 2012/04/27 14:39:17, mflodman wrote: > One small comment regarding the comment in media_stream_device_settings.h. > ...
8 years, 8 months ago (2012-04-27 20:16:29 UTC) #15
Jeremy Mao
On 2012/04/27 17:42:40, scherkus wrote: > LGTM w/ one nit > > thanks!!! > > ...
8 years, 8 months ago (2012-04-27 22:24:15 UTC) #16
Jeremy Mao
On 2012/04/27 14:39:17, mflodman wrote: > One small comment regarding the comment in media_stream_device_settings.h. > ...
8 years, 8 months ago (2012-04-27 22:24:46 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yujie.mao@intel.com/10035054/27002
8 years, 8 months ago (2012-04-27 22:25:54 UTC) #18
commit-bot: I haz the power
Try job failure for 10035054-27002 (retry) on mac_rel for step "compile" (clobber build). It's a ...
8 years, 8 months ago (2012-04-27 22:50:10 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yujie.mao@intel.com/10035054/32001
8 years, 8 months ago (2012-04-27 22:53:10 UTC) #20
commit-bot: I haz the power
8 years, 8 months ago (2012-04-28 00:56:08 UTC) #21
Change committed as 134415

Powered by Google App Engine
This is Rietveld 408576698