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

Issue 1229123002: Log audio splice sanitizer warnings and errors to media-internals (Closed)

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

Description

Log audio splice sanitizer warnings and errors to media-internals Plumbs a MediaLog into AudioSplicer's AudioStreamSanitizers and uses it to log warnings and errors to chrome://media-internals. This should help ease of diagnosis of potentially badly muxed frame timestamps and durations. Previously, a repro on a Debug build and inspection of DVLOG()s was required to get similar logs. BUG=505931, 490144 R=dalecurtis@chromium.org,chcunningham@chromium.org,xhwang@chromium.org TEST=repro of bug 505931's audio-only gap tolerance decode error shows log in media-internals. Committed: https://crrev.com/e27df71fa3f038ca2a25f457560036ae861b4679 Cr-Commit-Position: refs/heads/master@{#338233}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Address xhwang@'s comments and fix the unit test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -22 lines) Patch
M media/base/audio_splicer.h View 1 chunk +3 lines, -1 line 0 comments Download
M media/base/audio_splicer.cc View 1 8 chunks +71 lines, -19 lines 0 comments Download
M media/base/audio_splicer_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M media/renderers/audio_renderer_impl.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 20 (7 generated)
wolenetz
Please take a look at patch set 1: dalecurtis@: everything, committer, splicer creator xhwang@: please ...
5 years, 5 months ago (2015-07-09 19:28:20 UTC) #2
DaleCurtis
Nice work! lgtm
5 years, 5 months ago (2015-07-09 21:14:59 UTC) #3
xhwang
Looking good. Just a few questions. https://codereview.chromium.org/1229123002/diff/1/media/base/audio_splicer.cc File media/base/audio_splicer.cc (right): https://codereview.chromium.org/1229123002/diff/1/media/base/audio_splicer.cc#newcode31 media/base/audio_splicer.cc:31: static const int ...
5 years, 5 months ago (2015-07-09 21:31:00 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1229123002/1
5 years, 5 months ago (2015-07-09 21:31:05 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_compile_dbg on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_compile_dbg/builds/34824) cast_shell_linux on ...
5 years, 5 months ago (2015-07-09 21:46:22 UTC) #8
wolenetz
Patch set 2 is ready for review: https://codereview.chromium.org/1229123002/diff/1/media/base/audio_splicer.cc File media/base/audio_splicer.cc (right): https://codereview.chromium.org/1229123002/diff/1/media/base/audio_splicer.cc#newcode31 media/base/audio_splicer.cc:31: static const ...
5 years, 5 months ago (2015-07-09 22:45:00 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1229123002/20001
5 years, 5 months ago (2015-07-09 22:51:29 UTC) #12
xhwang
lgtm https://codereview.chromium.org/1229123002/diff/1/media/base/audio_splicer.cc File media/base/audio_splicer.cc (right): https://codereview.chromium.org/1229123002/diff/1/media/base/audio_splicer.cc#newcode31 media/base/audio_splicer.cc:31: static const int kMaxSanitizerWarningLogs = 5; On 2015/07/09 ...
5 years, 5 months ago (2015-07-09 22:59:36 UTC) #13
chcunningham
lgtm Woot, love these media logs changes.
5 years, 5 months ago (2015-07-09 23:31:57 UTC) #14
wolenetz
On 2015/07/09 23:31:57, chcunningham wrote: > lgtm > > Woot, love these media logs changes. ...
5 years, 5 months ago (2015-07-10 02:06:32 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1229123002/20001
5 years, 5 months ago (2015-07-10 02:06:58 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 5 months ago (2015-07-10 03:06:49 UTC) #19
commit-bot: I haz the power
5 years, 5 months ago (2015-07-10 03:08:37 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/e27df71fa3f038ca2a25f457560036ae861b4679
Cr-Commit-Position: refs/heads/master@{#338233}

Powered by Google App Engine
This is Rietveld 408576698