|
Motown: Add ActiveMultistreamSource model in preparation for the ffmpeg demux with async I/O
The current I/O model used for readers is synchronous, because ffmpeg's I/O model is synchronous.
This is a problem for mojo reader implementations. The solution is to have the ffmpeg demux
running on its own thread, which means that it will produce packets asynchronously. The current
framework model used for the demux is MultistreamSource, which can't handle asynchronous packet
production. ActiveMultistreamSource is an aysnc version of MultistreamSource.
There are a few minor fixes in this CL as well.
R=kulakowski@chromium.org
Committed: https://chromium.googlesource.com/external/mojo/+/d7afe9edcafac4f830faad5f39d706c63cbe7ef6
Total comments: 8
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+200 lines, -44 lines) |
Patch |
 |
M |
examples/media_test/media_test_app.cc
|
View
|
|
3 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
services/media/framework/BUILD.gn
|
View
|
1
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/media/framework/graph.h
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
services/media/framework/models/active_multistream_source.h
|
View
|
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/media/framework/models/multistream_source.h
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
A + |
services/media/framework/stages/active_multistream_source_stage.h
|
View
|
1
|
2 chunks |
+11 lines, -11 lines |
0 comments
|
Download
|
 |
A |
services/media/framework/stages/active_multistream_source_stage.cc
|
View
|
1
2
3
|
1 chunk |
+117 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/media/framework/stages/active_sink_stage.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
services/media/framework/stages/active_source_stage.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
services/media/framework/stages/multistream_source_stage.cc
|
View
|
1
2
3
|
3 chunks |
+3 lines, -10 lines |
0 comments
|
Download
|
 |
A + |
services/media/framework/stages/util.h
|
View
|
1
2
|
1 chunk |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
A + |
services/media/framework/stages/util.cc
|
View
|
1
2
|
1 chunk |
+10 lines, -5 lines |
0 comments
|
Download
|
 |
M |
services/media/framework_ffmpeg/ffmpeg_decoder_base.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
services/media/framework_mojo/mojo_producer.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
Total messages: 13 (3 generated)
|