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

Issue 547913002: MediaLog: Log selected audio/video decoder name. (Closed)

Created:
6 years, 3 months ago by xhwang
Modified:
6 years, 3 months ago
CC:
chromium-reviews, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, wjia+watch_chromium.org, scherkus (not reviewing)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

MediaLog: Log selected audio/video decoder name. The name of selected audio/video decoder will appear in chrome://media-internals. This is useful for quickly identifying which decoder is being used (e.g. whether we are using GpuVideoDecoder for hardware accelerated video decoding). BUG=411535 Committed: https://crrev.com/ff459d4eeb89479ae810f6be3d3b5b50fef3324a Cr-Commit-Position: refs/heads/master@{#293851}

Patch Set 1 #

Patch Set 2 : Fix TYPE_LAST #

Patch Set 3 : rebase only #

Total comments: 2

Patch Set 4 : Use property instead of log. #

Total comments: 5

Patch Set 5 : comments addressed #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+126 lines, -47 lines) Patch
M media/base/audio_decoder.h View 2 chunks +5 lines, -0 lines 0 comments Download
M media/base/mock_filters.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M media/base/mock_filters.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M media/base/video_decoder.h View 2 chunks +5 lines, -0 lines 0 comments Download
M media/blink/webmediaplayer_impl.cc View 1 2 3 2 chunks +20 lines, -21 lines 0 comments Download
M media/filters/audio_renderer_impl.h View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M media/filters/audio_renderer_impl.cc View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M media/filters/audio_renderer_impl_unittest.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M media/filters/decoder_stream.h View 1 2 3 4 5 3 chunks +5 lines, -1 line 0 comments Download
M media/filters/decoder_stream.cc View 1 2 3 4 2 chunks +9 lines, -1 line 0 comments Download
M media/filters/decoder_stream_traits.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M media/filters/decrypting_audio_decoder.h View 1 chunk +1 line, -0 lines 0 comments Download
M media/filters/decrypting_audio_decoder.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M media/filters/decrypting_video_decoder.h View 1 chunk +1 line, -0 lines 0 comments Download
M media/filters/decrypting_video_decoder.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M media/filters/fake_video_decoder.h View 1 chunk +1 line, -0 lines 0 comments Download
M media/filters/fake_video_decoder.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M media/filters/ffmpeg_audio_decoder.h View 1 chunk +1 line, -0 lines 0 comments Download
M media/filters/ffmpeg_audio_decoder.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M media/filters/ffmpeg_video_decoder.h View 1 chunk +1 line, -0 lines 0 comments Download
M media/filters/ffmpeg_video_decoder.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M media/filters/gpu_video_decoder.h View 1 2 3 2 chunks +2 lines, -4 lines 0 comments Download
M media/filters/gpu_video_decoder.cc View 1 2 3 4 chunks +5 lines, -5 lines 0 comments Download
M media/filters/opus_audio_decoder.h View 1 chunk +1 line, -0 lines 0 comments Download
M media/filters/opus_audio_decoder.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M media/filters/pipeline_integration_test_base.cc View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M media/filters/video_frame_stream_unittest.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M media/filters/video_renderer_impl.h View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M media/filters/video_renderer_impl.cc View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M media/filters/video_renderer_impl_unittest.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M media/filters/vpx_video_decoder.h View 1 chunk +1 line, -0 lines 0 comments Download
M media/filters/vpx_video_decoder.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M media/tools/player_x11/player_x11.cc View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (3 generated)
xhwang
rebase only
6 years, 3 months ago (2014-09-08 17:24:24 UTC) #1
xhwang
See https://code.google.com/p/chromium/issues/detail?id=411041#c10 and you'll understand why I am doing this.... dalecurtis: PTAL scherkus: FYI https://codereview.chromium.org/547913002/diff/40001/media/base/media_log.cc ...
6 years, 3 months ago (2014-09-08 17:31:21 UTC) #3
DaleCurtis
Should this be a player property instead? I ask because long term I'd like the ...
6 years, 3 months ago (2014-09-08 17:43:42 UTC) #4
xhwang
On 2014/09/08 17:43:42, DaleCurtis wrote: > Should this be a player property instead? I ask ...
6 years, 3 months ago (2014-09-08 18:34:44 UTC) #5
xhwang
https://codereview.chromium.org/547913002/diff/60001/media/filters/gpu_video_decoder.cc File media/filters/gpu_video_decoder.cc (left): https://codereview.chromium.org/547913002/diff/60001/media/filters/gpu_video_decoder.cc#oldcode190 media/filters/gpu_video_decoder.cc:190: media_log_->SetStringProperty("video_decoder", "gpu"); Just realized we actually had something similar. ...
6 years, 3 months ago (2014-09-08 18:34:51 UTC) #6
DaleCurtis
lgtm - thanks for adding this! https://codereview.chromium.org/547913002/diff/60001/media/filters/decoder_stream.cc File media/filters/decoder_stream.cc (right): https://codereview.chromium.org/547913002/diff/60001/media/filters/decoder_stream.cc#newcode242 media/filters/decoder_stream.cc:242: media_log_->SetStringProperty("decrypting_demuxer_stream", "yes"); Always ...
6 years, 3 months ago (2014-09-08 18:41:40 UTC) #7
xhwang
https://codereview.chromium.org/547913002/diff/60001/media/filters/decoder_stream.cc File media/filters/decoder_stream.cc (right): https://codereview.chromium.org/547913002/diff/60001/media/filters/decoder_stream.cc#newcode242 media/filters/decoder_stream.cc:242: media_log_->SetStringProperty("decrypting_demuxer_stream", "yes"); On 2014/09/08 18:41:39, DaleCurtis wrote: > Always ...
6 years, 3 months ago (2014-09-08 20:12:10 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xhwang@chromium.org/547913002/100001
6 years, 3 months ago (2014-09-08 21:15:00 UTC) #10
scherkus (not reviewing)
lgtm -- it'd be nice to think of some way to reduce the amount of ...
6 years, 3 months ago (2014-09-08 23:31:38 UTC) #12
commit-bot: I haz the power
Committed patchset #6 (id:100001) as 7daf5cd4bc580d754367743596dbb2d0e1bf32f7
6 years, 3 months ago (2014-09-09 04:57:16 UTC) #13
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:50:26 UTC) #14
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/ff459d4eeb89479ae810f6be3d3b5b50fef3324a
Cr-Commit-Position: refs/heads/master@{#293851}

Powered by Google App Engine
This is Rietveld 408576698