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

Issue 2124073006: Remove VideoCaptureDeviceClient buffer warning logs (Closed)

Created:
4 years, 5 months ago by emircan
Modified:
4 years, 5 months ago
Reviewers:
mcasas, Nico, chfremer
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
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove VideoCaptureDeviceClient buffer warning logs VideoCaptureDeviceClient buffer warnings show that capture is stopped. In most of the capture related errors, capture stops and we print this warning for each following frame. As a result, it is much harder to read through the error logs, such as below as we print this line hundreds of times. This CL addresses this issue by removing the logs and replacing with a DCHECK that comes in after consistent errors. https://build.chromium.org/p/chromium.webrtc/builders/Win8%20Tester/builds/26646/steps/browser_tests/logs/stdio Committed: https://crrev.com/bcd0585fc2b25d2f87d15982e7aeae4b8364888a Cr-Commit-Position: refs/heads/master@{#405274}

Patch Set 1 : #

Patch Set 2 : Move to base/logging #

Patch Set 3 : Move to media/base. #

Patch Set 4 : Turn into DCHECK. #

Total comments: 5

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -3 lines) Patch
M content/browser/renderer_host/media/video_capture_device_client.h View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_device_client.cc View 1 2 3 4 5 1 chunk +7 lines, -3 lines 0 comments Download

Messages

Total messages: 38 (19 generated)
emircan
PTAL. mcasas@ for OWNERS review. kjellander@ take note as I remember you were annoyed by ...
4 years, 5 months ago (2016-07-07 21:06:50 UTC) #5
chfremer
Drive-by comment: I feel a little uneasy about the clutter of having to add #ifs ...
4 years, 5 months ago (2016-07-11 18:42:21 UTC) #7
emircan
chfremer@ thanks for the input. It would be a useful macro, especially for video-capture related ...
4 years, 5 months ago (2016-07-12 00:23:50 UTC) #8
emircan
thakis@ for OWNERS review on base/logging*
4 years, 5 months ago (2016-07-12 01:05:39 UTC) #14
Nico
have you seen the text in base/OWNERS? do we really need more stuff for this ...
4 years, 5 months ago (2016-07-12 01:13:51 UTC) #15
emircan
On 2016/07/12 01:13:51, Nico wrote: > have you seen the text in base/OWNERS? do we ...
4 years, 5 months ago (2016-07-12 22:21:34 UTC) #16
emircan
chcunningham@ for OWNERS review on media/base/media_util.h. Let me know if it would be a good ...
4 years, 5 months ago (2016-07-12 22:22:58 UTC) #18
Nico
On 2016/07/12 22:21:34, emircan wrote: > On 2016/07/12 01:13:51, Nico wrote: > > have you ...
4 years, 5 months ago (2016-07-12 23:18:34 UTC) #19
emircan
On 2016/07/12 23:18:34, Nico wrote: > Then the expected instances shouldn't log :-) It's a ...
4 years, 5 months ago (2016-07-13 00:08:32 UTC) #24
Nico
Thanks, that looks like a much better change to me (but I'm not an owner ...
4 years, 5 months ago (2016-07-13 00:12:48 UTC) #25
mcasas
https://codereview.chromium.org/2124073006/diff/180001/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/2124073006/diff/180001/content/browser/renderer_host/media/video_capture_device_client.cc#newcode143 content/browser/renderer_host/media/video_capture_device_client.cc:143: DCHECK_LT(dropped_frame_counter_, 150u) I'd recommend defining a constant static const ...
4 years, 5 months ago (2016-07-13 00:31:36 UTC) #26
emircan
https://codereview.chromium.org/2124073006/diff/180001/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/2124073006/diff/180001/content/browser/renderer_host/media/video_capture_device_client.cc#newcode143 content/browser/renderer_host/media/video_capture_device_client.cc:143: DCHECK_LT(dropped_frame_counter_, 150u) On 2016/07/13 00:31:36, mcasas wrote: > I'd ...
4 years, 5 months ago (2016-07-13 17:51:15 UTC) #27
emircan
https://codereview.chromium.org/2124073006/diff/180001/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/2124073006/diff/180001/content/browser/renderer_host/media/video_capture_device_client.cc#newcode143 content/browser/renderer_host/media/video_capture_device_client.cc:143: DCHECK_LT(dropped_frame_counter_, 150u) On 2016/07/13 17:51:14, emircan wrote: > On ...
4 years, 5 months ago (2016-07-13 18:24:56 UTC) #28
mcasas
On 2016/07/13 18:24:56, emircan wrote: > https://codereview.chromium.org/2124073006/diff/180001/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/2124073006/diff/180001/content/browser/renderer_host/media/video_capture_device_client.cc#newcode143 > ...
4 years, 5 months ago (2016-07-13 18:33:19 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/2124073006/220001
4 years, 5 months ago (2016-07-13 18:58:47 UTC) #32
chfremer
LGTM
4 years, 5 months ago (2016-07-13 18:58:58 UTC) #33
commit-bot: I haz the power
Committed patchset #6 (id:220001)
4 years, 5 months ago (2016-07-13 20:25:07 UTC) #35
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-13 20:25:54 UTC) #36
commit-bot: I haz the power
4 years, 5 months ago (2016-07-13 20:26:56 UTC) #38
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/bcd0585fc2b25d2f87d15982e7aeae4b8364888a
Cr-Commit-Position: refs/heads/master@{#405274}

Powered by Google App Engine
This is Rietveld 408576698