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

Issue 2369983003: Win video capture: Fix capture format and frame buffer mismatch (Closed)

Created:
4 years, 2 months ago by magjed_chromium
Modified:
4 years, 2 months ago
Reviewers:
mcasas
CC:
chromium-reviews, posciak+watch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, mcasas+watch+vc_chromium.org, miu+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Win video capture: Fix capture format and frame buffer mismatch BUG=613556 Committed: https://crrev.com/1c5204b6bcb428d524e9c63f751850e1f1c4bd22 Cr-Commit-Position: refs/heads/master@{#422801}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Move length check to Win code #

Total comments: 1

Patch Set 3 : Remove VideoCaptureDeviceWin |capture_format_| #

Total comments: 2

Patch Set 4 : Fix nits #

Patch Set 5 : Revert changes to video_capture_device_client.cc #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -23 lines) Patch
M media/capture/video/win/sink_filter_observer_win.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M media/capture/video/win/sink_filter_win.h View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M media/capture/video/win/sink_filter_win.cc View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M media/capture/video/win/sink_input_pin_win.h View 1 2 1 chunk +0 lines, -5 lines 0 comments Download
M media/capture/video/win/sink_input_pin_win.cc View 1 2 3 2 chunks +5 lines, -4 lines 0 comments Download
M media/capture/video/win/video_capture_device_win.h View 1 2 2 chunks +1 line, -1 line 0 comments Download
M media/capture/video/win/video_capture_device_win.cc View 1 2 3 chunks +3 lines, -6 lines 0 comments Download

Messages

Total messages: 43 (28 generated)
magjed_chromium
Miguel - please take a look.
4 years, 2 months ago (2016-09-27 14:07:10 UTC) #6
mcasas
https://codereview.chromium.org/2369983003/diff/20001/content/browser/renderer_host/media/video_capture_device_client.cc File content/browser/renderer_host/media/video_capture_device_client.cc (right): https://codereview.chromium.org/2369983003/diff/20001/content/browser/renderer_host/media/video_capture_device_client.cc#newcode1 content/browser/renderer_host/media/video_capture_device_client.cc:1: // Copyright 2015 The Chromium Authors. All rights reserved. ...
4 years, 2 months ago (2016-09-27 14:36:02 UTC) #9
magjed_chromium
https://codereview.chromium.org/2369983003/diff/20001/content/browser/renderer_host/media/video_capture_device_client.cc File content/browser/renderer_host/media/video_capture_device_client.cc (right): https://codereview.chromium.org/2369983003/diff/20001/content/browser/renderer_host/media/video_capture_device_client.cc#newcode1 content/browser/renderer_host/media/video_capture_device_client.cc:1: // Copyright 2015 The Chromium Authors. All rights reserved. ...
4 years, 2 months ago (2016-09-27 15:19:56 UTC) #11
mcasas
https://codereview.chromium.org/2369983003/diff/20001/content/browser/renderer_host/media/video_capture_device_client.cc File content/browser/renderer_host/media/video_capture_device_client.cc (right): https://codereview.chromium.org/2369983003/diff/20001/content/browser/renderer_host/media/video_capture_device_client.cc#newcode220 content/browser/renderer_host/media/video_capture_device_client.cc:220: if (static_cast<size_t>(length) < frame_format.ImageAllocationSize()) { On 2016/09/27 15:19:56, magjed_chromium ...
4 years, 2 months ago (2016-09-28 16:39:22 UTC) #12
magjed_chromium
https://codereview.chromium.org/2369983003/diff/20001/content/browser/renderer_host/media/video_capture_device_client.cc File content/browser/renderer_host/media/video_capture_device_client.cc (right): https://codereview.chromium.org/2369983003/diff/20001/content/browser/renderer_host/media/video_capture_device_client.cc#newcode220 content/browser/renderer_host/media/video_capture_device_client.cc:220: if (static_cast<size_t>(length) < frame_format.ImageAllocationSize()) { On 2016/09/28 16:39:22, mcasas ...
4 years, 2 months ago (2016-09-29 11:00:36 UTC) #22
mcasas
https://codereview.chromium.org/2369983003/diff/20001/content/browser/renderer_host/media/video_capture_device_client.cc File content/browser/renderer_host/media/video_capture_device_client.cc (right): https://codereview.chromium.org/2369983003/diff/20001/content/browser/renderer_host/media/video_capture_device_client.cc#newcode220 content/browser/renderer_host/media/video_capture_device_client.cc:220: if (static_cast<size_t>(length) < frame_format.ImageAllocationSize()) { On 2016/09/29 11:00:35, magjed_chromium ...
4 years, 2 months ago (2016-09-29 20:43:31 UTC) #24
mcasas
On 2016/09/29 20:43:31, mcasas wrote: > https://codereview.chromium.org/2369983003/diff/20001/content/browser/renderer_host/media/video_capture_device_client.cc > File content/browser/renderer_host/media/video_capture_device_client.cc (right): > > https://codereview.chromium.org/2369983003/diff/20001/content/browser/renderer_host/media/video_capture_device_client.cc#newcode220 > ...
4 years, 2 months ago (2016-10-03 16:16:17 UTC) #25
magjed_chromium
Sorry, forgot about this CL. I uploaded a new patch now. Let's hope it will ...
4 years, 2 months ago (2016-10-03 17:25:43 UTC) #28
mcasas
lgtm with nits https://codereview.chromium.org/2369983003/diff/140001/media/capture/video/win/sink_filter_observer_win.h File media/capture/video/win/sink_filter_observer_win.h (right): https://codereview.chromium.org/2369983003/diff/140001/media/capture/video/win/sink_filter_observer_win.h#newcode23 media/capture/video/win/sink_filter_observer_win.h:23: const VideoCaptureFormat& format, nit: can this ...
4 years, 2 months ago (2016-10-03 17:32:32 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2369983003/160001
4 years, 2 months ago (2016-10-04 08:53:06 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/235376)
4 years, 2 months ago (2016-10-04 09:15:26 UTC) #35
magjed_chromium
I had to revert changes to video_capture_device_client.cc because the DCHECK will hit before we silently ...
4 years, 2 months ago (2016-10-04 13:55:03 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2369983003/180001
4 years, 2 months ago (2016-10-04 13:55:23 UTC) #39
commit-bot: I haz the power
Committed patchset #5 (id:180001)
4 years, 2 months ago (2016-10-04 15:18:09 UTC) #41
commit-bot: I haz the power
4 years, 2 months ago (2016-10-04 15:20:19 UTC) #43
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/1c5204b6bcb428d524e9c63f751850e1f1c4bd22
Cr-Commit-Position: refs/heads/master@{#422801}

Powered by Google App Engine
This is Rietveld 408576698