|
Add MediaPlayerRenderer/MediaPlayerRendererClient
This change introduces MediaPlayerRender and MediaPlayerRendererClient.
The MediaPlayerRenderer uses an instance of an Android MediaPlayer to
render video to a given Android Surface. It adapts the MediaPlayer
interface into the media::Renderer interface. It lives in the Browser
process, and is owned by and instance of MojoRendererService.
The MediaPlayerRendereClient is a media::Renderer that integrates
into the WMPI pipeline. It forwards media::Renderer calls to its
associated MediaPlayerRenderer in the Browser process, via a
MojoRenderer (bound to the MojoRendererService). It also owns a
StreamTextureWrapper, which it uses to send VideoFrame to WMPI's
VideoFrameCompositor.
In order to be fully functional, the code is missing the repainting
of duplicate video frames (636002), the propagation of duration changes
(635991) and a mechanism for registering/retrieving the
StreamTextureWrapper's Surface (627658).
BUG= 631199
Committed: https://crrev.com/cd478271f0ea7b3a25fd0b04799d97699598278a
Cr-Commit-Position: refs/heads/master@{#411527}
Total comments: 2
Total comments: 29
Total comments: 2
Total comments: 45
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+800 lines, -239 lines) |
Patch |
|
A |
content/browser/media/android/media_player_renderer.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+115 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/browser/media/android/media_player_renderer.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+229 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/content_browser.gypi
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/content_renderer.gypi
|
View
|
1
2
3
4
5
6
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/renderer/media/android/media_player_renderer_client.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+106 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/renderer/media/android/media_player_renderer_client.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+154 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/renderer/media/android/media_player_renderer_client_factory.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+53 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/renderer/media/android/media_player_renderer_client_factory.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+46 lines, -0 lines |
0 comments
|
Download
|
|
M |
media/base/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
media/base/android/BUILD.gn
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
|
D |
media/base/android/media_url_demuxer.h
|
View
|
|
1 chunk |
+0 lines, -68 lines |
0 comments
|
Download
|
|
D |
media/base/android/media_url_demuxer.cc
|
View
|
|
1 chunk |
+0 lines, -78 lines |
0 comments
|
Download
|
|
D |
media/base/android/media_url_demuxer_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -73 lines |
0 comments
|
Download
|
|
M |
media/base/media_log.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
A + |
media/base/media_url_demuxer.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
A + |
media/base/media_url_demuxer.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
A + |
media/base/media_url_demuxer_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
media/base/pipeline_status.h
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
media/blink/webmediaplayer_util.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
media/mojo/clients/mojo_renderer.h
|
View
|
1
2
3
4
5
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
media/mojo/clients/mojo_renderer.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+41 lines, -1 line |
0 comments
|
Download
|
|
M |
media/mojo/interfaces/renderer.mojom
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
media/mojo/services/media_mojo_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
media/mojo/services/mojo_renderer_service.h
|
View
|
1
2
3
4
5
|
3 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
media/mojo/services/mojo_renderer_service.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+19 lines, -5 lines |
0 comments
|
Download
|
Dependent Patchsets:
Total messages: 68 (39 generated)
|