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

Issue 743483002: Emit Media Source codec names as media_log events. (Closed)

Created:
6 years, 1 month ago by watk
Modified:
6 years, 1 month ago
Reviewers:
DaleCurtis
CC:
chromium-reviews, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Emit Media Source codec names as media_log events. Media source codec names will appear in chrome://media-internals and be recorded by the PipelineStatus histogram. BUG=431447 Committed: https://crrev.com/14bcfc52eb12a1b08cca13198ba2b25a7156f2ce Cr-Commit-Position: refs/heads/master@{#304943}

Patch Set 1 #

Patch Set 2 : Fixed the unit tests! #

Patch Set 3 : Don't depend on ffmpeg in chunk_demuxer #

Patch Set 4 : Fix missed call to ChunkDemuxer constructor. #

Total comments: 8

Patch Set 5 : CR comments #

Patch Set 6 : CR comments #

Patch Set 7 : Fix the switces for android g++ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -7 lines) Patch
M content/renderer/media/android/media_source_delegate.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M media/base/audio_decoder_config.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M media/base/audio_decoder_config.cc View 1 2 3 4 5 6 2 chunks +35 lines, -1 line 0 comments Download
M media/base/video_decoder_config.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M media/base/video_decoder_config.cc View 1 2 3 4 5 6 2 chunks +25 lines, -1 line 0 comments Download
M media/blink/webmediaplayer_impl.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M media/filters/chunk_demuxer.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M media/filters/chunk_demuxer.cc View 1 2 3 4 5 9 chunks +28 lines, -3 lines 0 comments Download
M media/filters/chunk_demuxer_unittest.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M media/filters/pipeline_integration_test.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 14 (3 generated)
watk
PTAL. Question: In AudioCodecName I returned "pcm_s24le" for kSampleFormatS32 because I copied this: https://code.google.com/p/chromium/codesearch#chromium/src/media/ffmpeg/ffmpeg_common.cc&sq=package:chromium&type=cs&l=114&rcl=1416197761 . ...
6 years, 1 month ago (2014-11-18 23:44:51 UTC) #2
DaleCurtis
Overall looks good! Effectively PCM_S24LE == PCM_S32LE and differentiating them was hard, so we just ...
6 years, 1 month ago (2014-11-19 00:01:56 UTC) #3
DaleCurtis
https://codereview.chromium.org/743483002/diff/60001/media/filters/chunk_demuxer.cc File media/filters/chunk_demuxer.cc (right): https://codereview.chromium.org/743483002/diff/60001/media/filters/chunk_demuxer.cc#newcode600 media/filters/chunk_demuxer.cc:600: media_log_->SetStringProperty( This works today since we don't allow codec ...
6 years, 1 month ago (2014-11-19 00:03:57 UTC) #4
watk
https://codereview.chromium.org/743483002/diff/60001/media/base/audio_decoder_config.cc File media/base/audio_decoder_config.cc (right): https://codereview.chromium.org/743483002/diff/60001/media/base/audio_decoder_config.cc#newcode24 media/base/audio_decoder_config.cc:24: switch (sample_format) { On 2014/11/19 00:01:56, DaleCurtis wrote: > ...
6 years, 1 month ago (2014-11-19 19:18:09 UTC) #5
DaleCurtis
https://codereview.chromium.org/743483002/diff/100001/media/base/audio_decoder_config.cc File media/base/audio_decoder_config.cc (right): https://codereview.chromium.org/743483002/diff/100001/media/base/audio_decoder_config.cc#newcode127 media/base/audio_decoder_config.cc:127: case kUnknownAudioCodec: Combine with default: section below? Or remove ...
6 years, 1 month ago (2014-11-19 21:10:22 UTC) #6
watk
https://codereview.chromium.org/743483002/diff/100001/media/base/audio_decoder_config.cc File media/base/audio_decoder_config.cc (right): https://codereview.chromium.org/743483002/diff/100001/media/base/audio_decoder_config.cc#newcode127 media/base/audio_decoder_config.cc:127: case kUnknownAudioCodec: On 2014/11/19 21:10:22, DaleCurtis wrote: > Combine ...
6 years, 1 month ago (2014-11-19 22:02:43 UTC) #7
watk
On 2014/11/19 22:02:43, watk wrote: > https://codereview.chromium.org/743483002/diff/100001/media/base/audio_decoder_config.cc > File media/base/audio_decoder_config.cc (right): > > https://codereview.chromium.org/743483002/diff/100001/media/base/audio_decoder_config.cc#newcode127 > ...
6 years, 1 month ago (2014-11-19 22:39:24 UTC) #8
DaleCurtis
lgtm, nice work!
6 years, 1 month ago (2014-11-19 23:29:45 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/743483002/140001
6 years, 1 month ago (2014-11-19 23:42:30 UTC) #11
commit-bot: I haz the power
Committed patchset #8 (id:140001)
6 years, 1 month ago (2014-11-20 00:29:22 UTC) #13
commit-bot: I haz the power
6 years, 1 month ago (2014-11-20 00:31:07 UTC) #14
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/14bcfc52eb12a1b08cca13198ba2b25a7156f2ce
Cr-Commit-Position: refs/heads/master@{#304943}

Powered by Google App Engine
This is Rietveld 408576698