|
Replace Pipeline::kEnded state and HasEnded() methods with renderer-specific bools.
The kEnded state was used to protect against the case where both renderers executed their ended callbacks at the same time, resulting in two tasks posted to the pipeline message loop but the first task would poll each renderer's HasEnded() method and execute the ended logic before the second task executed.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=150689
Total comments: 7
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+75 lines, -100 lines) |
Patch |
 |
M |
media/base/audio_renderer.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/base/media_log.cc
|
View
|
1
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
media/base/media_log_event.h
|
View
|
1
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/base/mock_filters.h
|
View
|
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/base/pipeline.h
|
View
|
|
5 chunks |
+11 lines, -8 lines |
0 comments
|
Download
|
 |
M |
media/base/pipeline.cc
|
View
|
1
|
10 chunks |
+47 lines, -28 lines |
0 comments
|
Download
|
 |
M |
media/base/pipeline_unittest.cc
|
View
|
1
|
5 chunks |
+10 lines, -33 lines |
0 comments
|
Download
|
 |
M |
media/base/video_renderer.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/filters/audio_renderer_impl.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/filters/audio_renderer_impl.cc
|
View
|
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
media/filters/audio_renderer_impl_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/filters/video_renderer_base.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/filters/video_renderer_base.cc
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
Total messages: 7 (0 generated)
|