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

Issue 684963003: Add support for external video renderers in mojo. (Closed)

Created:
6 years, 1 month ago by DaleCurtis
Modified:
6 years, 1 month ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@mojo_config
Project:
chromium
Visibility:
Public.

Description

Add support for external video renderers in mojo. - Extends RendererConfig to handle VideoDecoders. - Extends the MOJO interfaces for DemuxerStreams with VIDEO. - Adds the VideoFrame type plus converters to media types. - Extends DemuxerStreamProviderShim to handle multiple streams. BUG=410451 TEST=YouTube videos play with MOJO renderer! Committed: https://crrev.com/f1dc7cd8b00ee69c5a2b3b5c14435ca1f96464de Cr-Commit-Position: refs/heads/master@{#302728}

Patch Set 1 #

Total comments: 21

Patch Set 2 : Comments. Cleanup. #

Patch Set 3 : Fix deps. #

Patch Set 4 : Fix linker. #

Patch Set 5 : Linker fix #2. #

Patch Set 6 : Fix android gn. #

Patch Set 7 : Rebase. #

Patch Set 8 : Fix MSVC. #

Patch Set 9 : More MSVC... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+554 lines, -125 lines) Patch
M media/media.gyp View 1 2 3 4 5 6 7 8 3 chunks +7 lines, -0 lines 0 comments Download
M media/mojo/DEPS View 1 1 chunk +1 line, -0 lines 0 comments Download
M media/mojo/interfaces/BUILD.gn View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M media/mojo/interfaces/demuxer_stream.mojom View 1 2 3 4 5 6 2 chunks +7 lines, -1 line 0 comments Download
M media/mojo/interfaces/media_renderer.mojom View 1 2 3 4 5 6 1 chunk +3 lines, -2 lines 0 comments Download
M media/mojo/interfaces/media_types.mojom View 1 2 3 4 5 6 4 chunks +73 lines, -1 line 0 comments Download
M media/mojo/services/BUILD.gn View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
A media/mojo/services/demuxer_stream_provider_shim.h View 1 1 chunk +55 lines, -0 lines 0 comments Download
A media/mojo/services/demuxer_stream_provider_shim.cc View 1 1 chunk +62 lines, -0 lines 0 comments Download
M media/mojo/services/media_type_converters.h View 2 chunks +10 lines, -0 lines 0 comments Download
M media/mojo/services/media_type_converters.cc View 1 6 chunks +166 lines, -44 lines 0 comments Download
M media/mojo/services/mojo_demuxer_stream_adapter.h View 1 4 chunks +11 lines, -7 lines 0 comments Download
M media/mojo/services/mojo_demuxer_stream_adapter.cc View 1 4 chunks +49 lines, -20 lines 0 comments Download
M media/mojo/services/mojo_demuxer_stream_impl.cc View 3 chunks +15 lines, -4 lines 0 comments Download
M media/mojo/services/mojo_renderer_impl.cc View 1 2 3 4 5 6 7 2 chunks +19 lines, -9 lines 0 comments Download
M media/mojo/services/mojo_renderer_service.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M media/mojo/services/mojo_renderer_service.cc View 1 5 chunks +19 lines, -30 lines 0 comments Download
M media/mojo/services/renderer_config.h View 1 4 chunks +12 lines, -5 lines 0 comments Download
M media/mojo/services/renderer_config.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M media/mojo/services/renderer_config_default.cc View 1 2 3 4 5 2 chunks +28 lines, -1 line 0 comments Download

Messages

Total messages: 34 (15 generated)
DaleCurtis
Please provide only high level commentary, this needs lots of cleanup :)
6 years, 1 month ago (2014-10-28 23:36:56 UTC) #2
xhwang
Thanks for the fast CL! Looking pretty good. Here's my first round of comments. https://codereview.chromium.org/684963003/diff/1/media/mojo/interfaces/demuxer_stream.mojom ...
6 years, 1 month ago (2014-10-29 00:22:14 UTC) #3
DaleCurtis
PTAL! Comments addressed. Code rebased and cleaned up for final review. +jamesr for mojo/converters DEPS ...
6 years, 1 month ago (2014-10-30 23:16:57 UTC) #6
jamesr
lgtm
6 years, 1 month ago (2014-10-31 02:58:24 UTC) #7
xhwang
Yay for Youtube plays! LGTM! https://codereview.chromium.org/684963003/diff/1/media/mojo/services/mojo_demuxer_stream_adapter.cc File media/mojo/services/mojo_demuxer_stream_adapter.cc (right): https://codereview.chromium.org/684963003/diff/1/media/mojo/services/mojo_demuxer_stream_adapter.cc#newcode76 media/mojo/services/mojo_demuxer_stream_adapter.cc:76: DCHECK(!video_config_queue_.empty()); On 2014/10/30 23:16:56, ...
6 years, 1 month ago (2014-10-31 03:25:57 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/684963003/40001
6 years, 1 month ago (2014-10-31 18:08:45 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/76425) android_chromium_gn_compile_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_dbg/builds/13415) android_chromium_gn_compile_rel ...
6 years, 1 month ago (2014-10-31 18:14:41 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/684963003/60001
6 years, 1 month ago (2014-11-01 05:05:44 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/30351) linux_chromium_gn_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_dbg/builds/13728)
6 years, 1 month ago (2014-11-01 05:10:49 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/684963003/120001
6 years, 1 month ago (2014-11-03 22:47:58 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_rel on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_rel/builds/25707) win_chromium_compile_dbg on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg/builds/30954) win_chromium_rel_ng ...
6 years, 1 month ago (2014-11-04 02:12:55 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/684963003/140001
6 years, 1 month ago (2014-11-04 06:23:49 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/2531)
6 years, 1 month ago (2014-11-04 14:52:02 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/684963003/160001
6 years, 1 month ago (2014-11-04 18:37:36 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/684963003/180001
6 years, 1 month ago (2014-11-04 20:51:55 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel/builds/8498)
6 years, 1 month ago (2014-11-04 22:14:54 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/684963003/180001
6 years, 1 month ago (2014-11-05 00:43:55 UTC) #32
commit-bot: I haz the power
Committed patchset #9 (id:180001)
6 years, 1 month ago (2014-11-05 01:15:58 UTC) #33
commit-bot: I haz the power
6 years, 1 month ago (2014-11-05 01:16:31 UTC) #34
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/f1dc7cd8b00ee69c5a2b3b5c14435ca1f96464de
Cr-Commit-Position: refs/heads/master@{#302728}

Powered by Google App Engine
This is Rietveld 408576698