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

Issue 898803004: Revert of Refactored pixel format resize operations in media/video/capture into a function called VideoCaptu… (Closed)

Created:
5 years, 10 months ago by phoglund_chromium
Modified:
5 years, 10 months ago
CC:
chromium-reviews, posciak+watch_chromium.org, feature-media-reviews_chromium.org, wjia+watch_chromium.org, mcasas+watch_chromium.org, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Refactored pixel format resize operations in media/video/capture into a function called VideoCaptu… (patchset #13 id:240001 of https://codereview.chromium.org/897483002/) Reason for revert: This breaks the WebRTC real webcam tests on Windows. See for instance http://chromegw.corp.google.com/i/internal.chromium.webrtc/builders/Win7%20Tester/builds/13860. The error is [2292:2232:0206/211958:997267:FATAL:video_capture_controller.cc(474)] Check failed: static_cast<size_t>(length) >= frame_format.ImageAllocationSize() (0 vs. 614400) The Win bots are equipped with C920 webcams. I logged into the bot to make sure the webcam was working right - it is as far I can see. Original issue's description: > Refactored pixel format resize operations in media/video/capture into a function called VideoCaptureFormat::GetSizeForVideoPixelFormat(). > > BUG= > > TEST=VideoCaptureDeviceTest.* in media_unittests pass. > > Committed: https://crrev.com/79288ba0b63021e8731e0401b8a4a9055d33fa10 > Cr-Commit-Position: refs/heads/master@{#315175} TBR=mcasas@chromium.org,perkj@chromium.org,emircan@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG= Committed: https://crrev.com/b22a69d1b11489dacacbf0a710337a94714ac3d0 Cr-Commit-Position: refs/heads/master@{#315203}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -55 lines) Patch
M content/browser/renderer_host/media/video_capture_controller.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M media/video/capture/file_video_capture_device.h View 1 chunk +1 line, -1 line 0 comments Download
M media/video/capture/file_video_capture_device.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M media/video/capture/video_capture_device_unittest.cc View 4 chunks +0 lines, -10 lines 0 comments Download
M media/video/capture/video_capture_types.h View 1 chunk +0 lines, -4 lines 0 comments Download
M media/video/capture/video_capture_types.cc View 1 chunk +0 lines, -30 lines 0 comments Download
M media/video/capture/win/sink_input_pin_win.cc View 3 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 1 (0 generated)
phoglund_chromium
5 years, 10 months ago (2015-02-07 12:45:01 UTC) #1
Created Revert of Refactored pixel format resize operations in 
media/video/capture into a function called VideoCaptu…

Powered by Google App Engine
This is Rietveld 408576698