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

Issue 2156193003: [Chromecast] Add a custom CastMediaClient for Chromecast (Closed)

Created:
4 years, 5 months ago by servolk
Modified:
4 years, 4 months ago
CC:
chromium-reviews, alokp+watch_chromium.org, lcwu+watch_chromium.org, gfhuang+watch_chromium.org, halliwell+watch_chromium.org, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@codecs
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Chromecast] Add a custom CastMediaClient for Chromecast It will forward MediaClient::IsSupportedVideoConfig invocations to a shared library implementation, which will allow us to have different codecs supported on different platforms. BUG=477103 Committed: https://crrev.com/29ce77106c738a40237b4a1715f953913e493413 Cr-Commit-Position: refs/heads/master@{#408300}

Patch Set 1 #

Patch Set 2 : Added enum value conversion + various buildfixes #

Patch Set 3 : fixed deps #

Patch Set 4 : Remove direct dependency on content::RenderMediaClient #

Patch Set 5 : buildfix #

Patch Set 6 : Added IsSupportedVideoConfig to cast_media_dummy.cc #

Patch Set 7 : Fixed unit tests #

Patch Set 8 : Move CastMediaClient::Init to RenderThreadStarted #

Patch Set 9 : rebase #

Patch Set 10 : rebase #

Patch Set 11 : Move #define MEDIA_IMPLEMENTATION to .cc file #

Total comments: 2

Patch Set 12 : Mark MediaCapShlib::IsSupportedVideoConfig as weak symbol #

Total comments: 12

Patch Set 13 : CR fixes #

Total comments: 4

Patch Set 14 : Move MediaCapShlib to a separate header #

Patch Set 15 : Added comments for MediaCapShlib interface #

Patch Set 16 : rebase #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+242 lines, -62 lines) Patch
M chromecast/common/media/BUILD.gn View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
A chromecast/common/media/cast_media_client.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +50 lines, -0 lines 0 comments Download
A chromecast/common/media/cast_media_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +74 lines, -0 lines 0 comments Download
M chromecast/media/base/media_codec_support.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M chromecast/media/base/media_codec_support.cc View 1 1 chunk +66 lines, -0 lines 0 comments Download
M chromecast/media/cma/base/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M chromecast/media/cma/base/decoder_config_adapter.cc View 1 3 chunks +3 lines, -61 lines 0 comments Download
M chromecast/public/media/decoder_config.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +4 lines, -1 line 0 comments Download
A chromecast/public/media/media_capabilities_shlib.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +31 lines, -0 lines 2 comments Download
M chromecast/renderer/cast_content_renderer_client.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 93 (68 generated)
servolk
On 2016/07/26 21:43:21, servolk wrote: > mailto:servolk@chromium.org changed reviewers: > + mailto:erickung@chromium.org, mailto:halliwell@chromium.org PTAL, this ...
4 years, 4 months ago (2016-07-26 21:44:27 UTC) #41
gfhuang
https://codereview.chromium.org/2156193003/diff/200001/chromecast/public/media_codec_support_shlib.h File chromecast/public/media_codec_support_shlib.h (right): https://codereview.chromium.org/2156193003/diff/200001/chromecast/public/media_codec_support_shlib.h#newcode43 chromecast/public/media_codec_support_shlib.h:43: this public API change is not safe for OEM ...
4 years, 4 months ago (2016-07-26 21:48:58 UTC) #43
servolk
https://codereview.chromium.org/2156193003/diff/200001/chromecast/public/media_codec_support_shlib.h File chromecast/public/media_codec_support_shlib.h (right): https://codereview.chromium.org/2156193003/diff/200001/chromecast/public/media_codec_support_shlib.h#newcode43 chromecast/public/media_codec_support_shlib.h:43: On 2016/07/26 21:48:58, gfhuang wrote: > this public API ...
4 years, 4 months ago (2016-07-26 22:13:45 UTC) #44
servolk
On 2016/07/26 22:13:45, servolk wrote: > https://codereview.chromium.org/2156193003/diff/200001/chromecast/public/media_codec_support_shlib.h > File chromecast/public/media_codec_support_shlib.h (right): > > https://codereview.chromium.org/2156193003/diff/200001/chromecast/public/media_codec_support_shlib.h#newcode43 > ...
4 years, 4 months ago (2016-07-26 22:42:15 UTC) #47
servolk
On 2016/07/26 22:42:15, servolk wrote: > On 2016/07/26 22:13:45, servolk wrote: > > > https://codereview.chromium.org/2156193003/diff/200001/chromecast/public/media_codec_support_shlib.h ...
4 years, 4 months ago (2016-07-26 22:42:40 UTC) #48
gfhuang
https://codereview.chromium.org/2156193003/diff/220001/chromecast/public/media/decoder_config.h File chromecast/public/media/decoder_config.h (right): https://codereview.chromium.org/2156193003/diff/220001/chromecast/public/media/decoder_config.h#newcode87 chromecast/public/media/decoder_config.h:87: kHEVCMainStillPicture, this should be added at the bottom, otherwise ...
4 years, 4 months ago (2016-07-27 05:49:40 UTC) #51
halliwell
https://codereview.chromium.org/2156193003/diff/220001/chromecast/common/media/cast_media_client.cc File chromecast/common/media/cast_media_client.cc (right): https://codereview.chromium.org/2156193003/diff/220001/chromecast/common/media/cast_media_client.cc#newcode9 chromecast/common/media/cast_media_client.cc:9: #define MEDIA_IMPLEMENTATION does this break component build? Also, it's ...
4 years, 4 months ago (2016-07-27 14:23:17 UTC) #52
servolk
https://codereview.chromium.org/2156193003/diff/220001/chromecast/common/media/cast_media_client.cc File chromecast/common/media/cast_media_client.cc (right): https://codereview.chromium.org/2156193003/diff/220001/chromecast/common/media/cast_media_client.cc#newcode9 chromecast/common/media/cast_media_client.cc:9: #define MEDIA_IMPLEMENTATION On 2016/07/27 14:23:17, halliwell wrote: > does ...
4 years, 4 months ago (2016-07-27 18:56:34 UTC) #59
halliwell
https://codereview.chromium.org/2156193003/diff/220001/chromecast/common/media/cast_media_client.cc File chromecast/common/media/cast_media_client.cc (right): https://codereview.chromium.org/2156193003/diff/220001/chromecast/common/media/cast_media_client.cc#newcode9 chromecast/common/media/cast_media_client.cc:9: #define MEDIA_IMPLEMENTATION On 2016/07/27 18:56:34, servolk wrote: > On ...
4 years, 4 months ago (2016-07-27 19:58:48 UTC) #62
gfhuang
https://codereview.chromium.org/2156193003/diff/240001/chromecast/common/media/cast_media_client.cc File chromecast/common/media/cast_media_client.cc (right): https://codereview.chromium.org/2156193003/diff/240001/chromecast/common/media/cast_media_client.cc#newcode68 chromecast/common/media/cast_media_client.cc:68: return content_media_client_->IsSupportedVideoConfig(codec, profile, level); is default impl safe for ...
4 years, 4 months ago (2016-07-27 20:13:58 UTC) #63
servolk
https://codereview.chromium.org/2156193003/diff/220001/chromecast/common/media/cast_media_client.cc File chromecast/common/media/cast_media_client.cc (right): https://codereview.chromium.org/2156193003/diff/220001/chromecast/common/media/cast_media_client.cc#newcode9 chromecast/common/media/cast_media_client.cc:9: #define MEDIA_IMPLEMENTATION On 2016/07/27 19:58:48, halliwell wrote: > On ...
4 years, 4 months ago (2016-07-27 21:11:38 UTC) #64
gfhuang
On 2016/07/27 21:11:38, servolk wrote: > https://codereview.chromium.org/2156193003/diff/220001/chromecast/common/media/cast_media_client.cc > File chromecast/common/media/cast_media_client.cc (right): > > https://codereview.chromium.org/2156193003/diff/220001/chromecast/common/media/cast_media_client.cc#newcode9 > ...
4 years, 4 months ago (2016-07-27 21:13:40 UTC) #65
halliwell
On 2016/07/27 21:13:40, gfhuang wrote: > On 2016/07/27 21:11:38, servolk wrote: > > > https://codereview.chromium.org/2156193003/diff/220001/chromecast/common/media/cast_media_client.cc ...
4 years, 4 months ago (2016-07-27 21:54:37 UTC) #66
servolk
On 2016/07/27 21:54:37, halliwell wrote: > On 2016/07/27 21:13:40, gfhuang wrote: > > On 2016/07/27 ...
4 years, 4 months ago (2016-07-27 21:55:55 UTC) #69
halliwell
On 2016/07/27 21:55:55, servolk wrote: > On 2016/07/27 21:54:37, halliwell wrote: > > On 2016/07/27 ...
4 years, 4 months ago (2016-07-27 21:58:51 UTC) #70
servolk
https://codereview.chromium.org/2156193003/diff/240001/chromecast/common/media/cast_media_client.cc File chromecast/common/media/cast_media_client.cc (right): https://codereview.chromium.org/2156193003/diff/240001/chromecast/common/media/cast_media_client.cc#newcode68 chromecast/common/media/cast_media_client.cc:68: return content_media_client_->IsSupportedVideoConfig(codec, profile, level); On 2016/07/27 20:13:57, gfhuang wrote: ...
4 years, 4 months ago (2016-07-27 22:39:36 UTC) #79
servolk
On 2016/07/27 21:58:51, halliwell wrote: > On 2016/07/27 21:55:55, servolk wrote: > > On 2016/07/27 ...
4 years, 4 months ago (2016-07-28 00:34:47 UTC) #82
gfhuang
https://codereview.chromium.org/2156193003/diff/300001/chromecast/public/media/media_capabilities_shlib.h File chromecast/public/media/media_capabilities_shlib.h (right): https://codereview.chromium.org/2156193003/diff/300001/chromecast/public/media/media_capabilities_shlib.h#newcode22 chromecast/public/media/media_capabilities_shlib.h:22: // level value corresponds to level_idc defined in the ...
4 years, 4 months ago (2016-07-28 00:38:07 UTC) #83
servolk
https://codereview.chromium.org/2156193003/diff/300001/chromecast/public/media/media_capabilities_shlib.h File chromecast/public/media/media_capabilities_shlib.h (right): https://codereview.chromium.org/2156193003/diff/300001/chromecast/public/media/media_capabilities_shlib.h#newcode22 chromecast/public/media/media_capabilities_shlib.h:22: // level value corresponds to level_idc defined in the ...
4 years, 4 months ago (2016-07-28 00:49:20 UTC) #84
halliwell
On 2016/07/28 00:49:20, servolk wrote: > https://codereview.chromium.org/2156193003/diff/300001/chromecast/public/media/media_capabilities_shlib.h > File chromecast/public/media/media_capabilities_shlib.h (right): > > https://codereview.chromium.org/2156193003/diff/300001/chromecast/public/media/media_capabilities_shlib.h#newcode22 > ...
4 years, 4 months ago (2016-07-28 00:50:39 UTC) #85
gfhuang
public/ lgtm
4 years, 4 months ago (2016-07-28 00:52:08 UTC) #86
gfhuang
public/ lgtm
4 years, 4 months ago (2016-07-28 00:52:14 UTC) #87
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/2156193003/300001
4 years, 4 months ago (2016-07-28 00:53:11 UTC) #89
commit-bot: I haz the power
Committed patchset #16 (id:300001)
4 years, 4 months ago (2016-07-28 00:57:03 UTC) #91
commit-bot: I haz the power
4 years, 4 months ago (2016-07-28 00:58:11 UTC) #93
Message was sent while issue was closed.
Patchset 16 (id:??) landed as
https://crrev.com/29ce77106c738a40237b4a1715f953913e493413
Cr-Commit-Position: refs/heads/master@{#408300}

Powered by Google App Engine
This is Rietveld 408576698