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

Issue 2627443004: media: Use different log levels in decoder_stream.cc (Closed)

Created:
3 years, 11 months ago by xhwang
Modified:
3 years, 11 months ago
Reviewers:
watk, tguilbert
CC:
chromium-reviews, posciak+watch_chromium.org, feature-media-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

media: Use different log levels in decoder_stream.cc Today we DVLOG(2) exclusively in decoder_stream.cc, making it hard to filter out unimportant messages and only show important ones. In this CL, different log levels are used for different events, using the following rule: - Level 1: Construction, destruction, initialization and error. - Level 2: Important repeating events like reset, reinitialization and config change. - Level 3: Other more frequent events like read, decode etc. Review-Url: https://codereview.chromium.org/2627443004 Cr-Commit-Position: refs/heads/master@{#442714} Committed: https://chromium.googlesource.com/chromium/src/+/74db842f10b264ea4d1d88d541ab5d27de697198

Patch Set 1 #

Total comments: 2

Patch Set 2 : comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -11 lines) Patch
M media/filters/decoder_stream.cc View 1 12 chunks +16 lines, -11 lines 0 comments Download

Messages

Total messages: 22 (16 generated)
xhwang
PTAL
3 years, 11 months ago (2017-01-10 18:55:19 UTC) #4
tguilbert
LGTM One drive by comment. https://codereview.chromium.org/2627443004/diff/1/media/filters/decoder_stream.cc File media/filters/decoder_stream.cc (right): https://codereview.chromium.org/2627443004/diff/1/media/filters/decoder_stream.cc#newcode433 media/filters/decoder_stream.cc:433: FUNCTION_DVLOG(1) << ": Reinitializing ...
3 years, 11 months ago (2017-01-10 19:02:35 UTC) #6
xhwang
https://codereview.chromium.org/2627443004/diff/1/media/filters/decoder_stream.cc File media/filters/decoder_stream.cc (right): https://codereview.chromium.org/2627443004/diff/1/media/filters/decoder_stream.cc#newcode433 media/filters/decoder_stream.cc:433: FUNCTION_DVLOG(1) << ": Reinitializing decoder after decode error!"; On ...
3 years, 11 months ago (2017-01-10 19:11:18 UTC) #7
xhwang
comments addressed
3 years, 11 months ago (2017-01-10 19:11:32 UTC) #8
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/2627443004/20001
3 years, 11 months ago (2017-01-10 22:29:40 UTC) #19
commit-bot: I haz the power
3 years, 11 months ago (2017-01-10 22:35:56 UTC) #22
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/74db842f10b264ea4d1d88d541ab...

Powered by Google App Engine
This is Rietveld 408576698