|
Switch to using media::TimeSource inside media::RendererImpl.
This finally replaces the time-updating-callback inside of AudioRenderer
and VideoRenderer with a model where clients can query the time. As a
result, many other bits of cleanup are now possible:
- Renderers no longer need to be aware of the media duration
- TimeDeltaInterpolator can be replaced with WallClockTimeSource
- We can separate time values used for syncing video vs. informational
BUG= 370634
Committed: https://crrev.com/ece894570c5f32f7f404f4c8da9ff8b9f03b75cd
Cr-Commit-Position: refs/heads/master@{#294029}
Total comments: 9
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+188 lines, -483 lines) |
Patch |
 |
M |
media/base/audio_renderer.h
|
View
|
|
3 chunks |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
media/base/mock_filters.h
|
View
|
1
|
4 chunks |
+12 lines, -15 lines |
0 comments
|
Download
|
 |
M |
media/base/pipeline.cc
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
media/base/pipeline_unittest.cc
|
View
|
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
media/base/renderer.h
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
media/base/time_source.h
|
View
|
1
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/base/video_renderer.h
|
View
|
|
3 chunks |
+1 line, -11 lines |
0 comments
|
Download
|
 |
M |
media/base/wall_clock_time_source.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
media/base/wall_clock_time_source.cc
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/filters/audio_renderer_impl.h
|
View
|
1
|
3 chunks |
+10 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/filters/audio_renderer_impl.cc
|
View
|
1
|
8 chunks |
+21 lines, -28 lines |
0 comments
|
Download
|
 |
M |
media/filters/audio_renderer_impl_unittest.cc
|
View
|
1
|
5 chunks |
+13 lines, -34 lines |
0 comments
|
Download
|
 |
M |
media/filters/pipeline_integration_test_base.cc
|
View
|
1
|
2 chunks |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
media/filters/renderer_impl.h
|
View
|
1
|
9 chunks |
+9 lines, -45 lines |
0 comments
|
Download
|
 |
M |
media/filters/renderer_impl.cc
|
View
|
1
2
|
18 chunks |
+77 lines, -134 lines |
0 comments
|
Download
|
 |
M |
media/filters/renderer_impl_unittest.cc
|
View
|
|
7 chunks |
+13 lines, -108 lines |
0 comments
|
Download
|
 |
M |
media/filters/video_renderer_impl.h
|
View
|
1
|
2 chunks |
+1 line, -5 lines |
0 comments
|
Download
|
 |
M |
media/filters/video_renderer_impl.cc
|
View
|
1
|
4 chunks |
+1 line, -38 lines |
0 comments
|
Download
|
 |
M |
media/filters/video_renderer_impl_unittest.cc
|
View
|
1
|
6 chunks |
+1 line, -42 lines |
0 comments
|
Download
|
Total messages: 18 (8 generated)
|