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

Issue 973633002: Chromecast: Play audio streams not supported by CMA via default renderer (Closed)

Created:
5 years, 9 months ago by servolk
Modified:
5 years, 9 months ago
Reviewers:
lcwu1, DaleCurtis, gunsch
CC:
chromium-reviews, gunsch+watch_chromium.org, lcwu+watch_chromium.org, feature-media-reviews_chromium.org, erickung1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Chromecast: Play audio streams not supported by CMA via default renderer For Chromecast we want to choose which media renderer to use based on the types of input content streams. We will use CMA media renderer for media types that are supported by our hardware (H264, AAC, etc) and will use the default media renderer for audio streams other than AAC or Vorbis. This will allow us support software decoding of FLAC and Opus via the default Chrome audio path. BUG=457959 Committed: https://crrev.com/2e583073b996e66d62f709dd2ffde9e1ef58b276 Cr-Commit-Position: refs/heads/master@{#318941}

Patch Set 1 #

Patch Set 2 : Include gpu_video_accelerator_factories.h into default_renderer_factory.h #

Total comments: 19

Patch Set 3 : CR feedback #

Total comments: 10

Patch Set 4 : CR fixes #2 #

Patch Set 5 : Reverted default_renderer_factory.h change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+292 lines, -74 lines) Patch
M chromecast/chromecast.gyp View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
A chromecast/media/base/switching_media_renderer.h View 1 2 1 chunk +66 lines, -0 lines 0 comments Download
A chromecast/media/base/switching_media_renderer.cc View 1 2 1 chunk +102 lines, -0 lines 0 comments Download
M chromecast/media/media.gyp View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chromecast/renderer/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M chromecast/renderer/cast_content_renderer_client.cc View 2 chunks +3 lines, -3 lines 0 comments Download
A chromecast/renderer/media/chromecast_media_renderer_factory.h View 1 2 3 1 chunk +43 lines, -0 lines 0 comments Download
A chromecast/renderer/media/chromecast_media_renderer_factory.cc View 1 2 3 1 chunk +73 lines, -0 lines 0 comments Download
D chromecast/renderer/media/cma_media_renderer_factory.h View 1 chunk +0 lines, -32 lines 0 comments Download
D chromecast/renderer/media/cma_media_renderer_factory.cc View 1 chunk +0 lines, -37 lines 0 comments Download

Messages

Total messages: 17 (5 generated)
servolk
5 years, 9 months ago (2015-03-02 23:23:07 UTC) #2
gunsch
+CC Eric Pile of comments, mostly nits. I'm fine with the overall structure. https://codereview.chromium.org/973633002/diff/20001/chromecast/media/base/media_renderer.cc File ...
5 years, 9 months ago (2015-03-03 00:06:41 UTC) #3
servolk
https://codereview.chromium.org/973633002/diff/20001/chromecast/media/base/media_renderer.cc File chromecast/media/base/media_renderer.cc (right): https://codereview.chromium.org/973633002/diff/20001/chromecast/media/base/media_renderer.cc#newcode8 chromecast/media/base/media_renderer.cc:8: #include "chromecast/media/cma/filters/cma_renderer.h" On 2015/03/03 00:06:40, gunsch wrote: > chromecast/media/base ...
5 years, 9 months ago (2015-03-03 00:46:54 UTC) #4
gunsch
couple more nits, otherwise lgtm on chromecast/ side https://codereview.chromium.org/973633002/diff/20001/chromecast/renderer/media/chromecast_media_renderer_factory.cc File chromecast/renderer/media/chromecast_media_renderer_factory.cc (right): https://codereview.chromium.org/973633002/diff/20001/chromecast/renderer/media/chromecast_media_renderer_factory.cc#newcode62 chromecast/renderer/media/chromecast_media_renderer_factory.cc:62: scoped_ptr<::media::Renderer> ...
5 years, 9 months ago (2015-03-03 01:00:51 UTC) #5
servolk
https://codereview.chromium.org/973633002/diff/20001/chromecast/renderer/media/chromecast_media_renderer_factory.cc File chromecast/renderer/media/chromecast_media_renderer_factory.cc (right): https://codereview.chromium.org/973633002/diff/20001/chromecast/renderer/media/chromecast_media_renderer_factory.cc#newcode51 chromecast/renderer/media/chromecast_media_renderer_factory.cc:51: } On 2015/03/03 00:06:40, gunsch wrote: > style nit: ...
5 years, 9 months ago (2015-03-03 01:06:10 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/973633002/70001
5 years, 9 months ago (2015-03-03 20:04:19 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/46989)
5 years, 9 months ago (2015-03-03 20:31:03 UTC) #11
DaleCurtis
deps lgtm
5 years, 9 months ago (2015-03-03 20:50:48 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/973633002/70001
5 years, 9 months ago (2015-03-03 21:13:27 UTC) #14
commit-bot: I haz the power
Committed patchset #5 (id:70001)
5 years, 9 months ago (2015-03-03 21:17:37 UTC) #15
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/2e583073b996e66d62f709dd2ffde9e1ef58b276 Cr-Commit-Position: refs/heads/master@{#318941}
5 years, 9 months ago (2015-03-03 21:18:34 UTC) #16
Finnur
5 years, 9 months ago (2015-03-04 08:42:06 UTC) #17
Message was sent while issue was closed.
A revert of this CL (patchset #5 id:70001) has been created in
https://codereview.chromium.org/981473003/ by finnur@chromium.org.

The reason for reverting is: Audio tests started failing consistently in the
next build after this was checked in. See:
https://build.chromium.org/p/chromium.mac/builders/Mac10.9%20Tests/builds/3762

Not sure if this CL is the culprit, but seems the most likely one, so attempting
a revert to see if it fixes the problem.

Error: 
[ RUN      ] AudioRecorderTest.BasicRecordAndStop
../../components/audio_modem/audio_recorder_unittest.cc:203: Failure
Value of: IsRecording()
Actual: false
Expected: true
../../components/audio_modem/audio_recorder_unittest.cc:208: Failure
Value of: IsRecording()
Actual: false
Expected: true
../../components/audio_modem/audio_recorder_unittest.cc:213: Failure
Value of: IsRecording()
Actual: false
Expected: true
[  FAILED  ] AudioRecorderTest.BasicRecordAndStop (1292 ms)
.

Powered by Google App Engine
This is Rietveld 408576698