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

Issue 2783963002: Add IsSupportedAudioConfig in MediaClient (Closed)

Created:
3 years, 8 months ago by servolk
Modified:
3 years, 8 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, chfremer+watch_chromium.org, lcwu+watch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, halliwell+watch_chromium.org, alokp+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add IsSupportedAudioConfig in MediaClient We already have the IsSupportedVideoConfig function in MediaClient, this CL will add a very similar API for audio codec checks on various platforms. BUG=695264 Review-Url: https://codereview.chromium.org/2783963002 Cr-Commit-Position: refs/heads/master@{#460921} Committed: https://chromium.googlesource.com/chromium/src/+/600bdb41533233777a5e852e1b5d08f6ec1bca5d

Patch Set 1 #

Total comments: 8

Patch Set 2 : Update MediaCanPlayTypeTest #

Total comments: 6

Patch Set 3 : CR feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+180 lines, -52 lines) Patch
M chromecast/common/media/cast_media_client.h View 1 chunk +1 line, -0 lines 0 comments Download
M chromecast/common/media/cast_media_client.cc View 2 chunks +26 lines, -0 lines 0 comments Download
M chromecast/media/base/media_codec_support.h View 2 chunks +5 lines, -0 lines 0 comments Download
M chromecast/media/base/media_codec_support.cc View 1 chunk +26 lines, -0 lines 0 comments Download
M content/browser/media/media_canplaytype_browsertest.cc View 1 4 chunks +26 lines, -50 lines 0 comments Download
M content/renderer/media/render_media_client.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/media/render_media_client.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M media/base/decode_capabilities.h View 3 chunks +6 lines, -1 line 0 comments Download
M media/base/decode_capabilities.cc View 1 2 2 chunks +35 lines, -1 line 0 comments Download
M media/base/key_systems_unittest.cc View 2 chunks +5 lines, -0 lines 0 comments Download
M media/base/media_client.h View 1 chunk +3 lines, -0 lines 0 comments Download
M media/base/mime_util_internal.cc View 2 chunks +40 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (19 generated)
servolk
3 years, 8 months ago (2017-03-29 17:45:27 UTC) #3
gfhuang
https://codereview.chromium.org/2783963002/diff/1/chromecast/common/media/cast_media_client.cc File chromecast/common/media/cast_media_client.cc (right): https://codereview.chromium.org/2783963002/diff/1/chromecast/common/media/cast_media_client.cc#newcode78 chromecast/common/media/cast_media_client.cc:78: // TODO(sanfin): Implement this for Android. Open a bug ...
3 years, 8 months ago (2017-03-29 20:54:59 UTC) #4
servolk
https://codereview.chromium.org/2783963002/diff/1/chromecast/common/media/cast_media_client.cc File chromecast/common/media/cast_media_client.cc (right): https://codereview.chromium.org/2783963002/diff/1/chromecast/common/media/cast_media_client.cc#newcode78 chromecast/common/media/cast_media_client.cc:78: // TODO(sanfin): Implement this for Android. On 2017/03/29 20:54:59, ...
3 years, 8 months ago (2017-03-29 21:51:52 UTC) #5
gfhuang
lgtm https://codereview.chromium.org/2783963002/diff/1/chromecast/common/media/cast_media_client.cc File chromecast/common/media/cast_media_client.cc (right): https://codereview.chromium.org/2783963002/diff/1/chromecast/common/media/cast_media_client.cc#newcode89 chromecast/common/media/cast_media_client.cc:89: if (codec == kCodecEAC3 && MediaCapabilities::HdmiSinkSupportsEAC3()) On 2017/03/29 ...
3 years, 8 months ago (2017-03-29 21:57:28 UTC) #6
chcunningham
Looks great - just one question https://codereview.chromium.org/2783963002/diff/1/media/base/decode_capabilities.cc File media/base/decode_capabilities.cc (right): https://codereview.chromium.org/2783963002/diff/1/media/base/decode_capabilities.cc#newcode107 media/base/decode_capabilities.cc:107: case media::kCodecAAC: Thanks ...
3 years, 8 months ago (2017-03-29 22:15:17 UTC) #7
servolk
https://codereview.chromium.org/2783963002/diff/1/media/base/decode_capabilities.cc File media/base/decode_capabilities.cc (right): https://codereview.chromium.org/2783963002/diff/1/media/base/decode_capabilities.cc#newcode107 media/base/decode_capabilities.cc:107: case media::kCodecAAC: On 2017/03/29 22:15:17, chcunningham wrote: > Thanks ...
3 years, 8 months ago (2017-03-29 22:27:58 UTC) #8
servolk
https://codereview.chromium.org/2783963002/diff/1/media/base/decode_capabilities.cc File media/base/decode_capabilities.cc (right): https://codereview.chromium.org/2783963002/diff/1/media/base/decode_capabilities.cc#newcode107 media/base/decode_capabilities.cc:107: case media::kCodecAAC: On 2017/03/29 22:27:58, servolk wrote: > On ...
3 years, 8 months ago (2017-03-29 22:30:46 UTC) #9
halliwell
On 2017/03/29 22:30:46, servolk wrote: > https://codereview.chromium.org/2783963002/diff/1/media/base/decode_capabilities.cc > File media/base/decode_capabilities.cc (right): > > https://codereview.chromium.org/2783963002/diff/1/media/base/decode_capabilities.cc#newcode107 > ...
3 years, 8 months ago (2017-03-29 23:46:16 UTC) #10
halliwell
On 2017/03/29 22:30:46, servolk wrote: > https://codereview.chromium.org/2783963002/diff/1/media/base/decode_capabilities.cc > File media/base/decode_capabilities.cc (right): > > https://codereview.chromium.org/2783963002/diff/1/media/base/decode_capabilities.cc#newcode107 > ...
3 years, 8 months ago (2017-03-29 23:46:29 UTC) #11
chcunningham
LGTM % "Can you" requests below. https://codereview.chromium.org/2783963002/diff/20001/media/base/decode_capabilities.cc File media/base/decode_capabilities.cc (right): https://codereview.chromium.org/2783963002/diff/20001/media/base/decode_capabilities.cc#newcode105 media/base/decode_capabilities.cc:105: bool IsSupportedAudioConfig(const AudioConfig& ...
3 years, 8 months ago (2017-03-30 18:09:04 UTC) #20
servolk
https://codereview.chromium.org/2783963002/diff/20001/media/base/decode_capabilities.cc File media/base/decode_capabilities.cc (right): https://codereview.chromium.org/2783963002/diff/20001/media/base/decode_capabilities.cc#newcode105 media/base/decode_capabilities.cc:105: bool IsSupportedAudioConfig(const AudioConfig& config) { On 2017/03/30 18:09:04, chcunningham ...
3 years, 8 months ago (2017-03-30 18:16:43 UTC) #22
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/2783963002/40001
3 years, 8 months ago (2017-03-30 18:57:40 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/411937)
3 years, 8 months ago (2017-03-30 20:51:47 UTC) #29
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/2783963002/40001
3 years, 8 months ago (2017-03-30 20:55:28 UTC) #31
commit-bot: I haz the power
3 years, 8 months ago (2017-03-30 23:19:29 UTC) #34
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/600bdb41533233777a5e852e1b5d...

Powered by Google App Engine
This is Rietveld 408576698