|
Pass in media message loop to VideoRendererBase and enforce calling on the right thread.
As a result VideoDecoder implementations have been updated to expect they get called on the correct thread instead of trampolining.
The newly added media::WrapCB() facilitates running callbacks on separate execution stacks to avoid reentrancy in calling code.
BUG= 162917
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=171854
Total comments: 5
Total comments: 2
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+186 lines, -321 lines) |
Patch |
|
M |
media/base/bind_to_loop.h
|
View
|
1
2
3
4
5
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
media/filters/decrypting_video_decoder.h
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -15 lines |
0 comments
|
Download
|
|
M |
media/filters/decrypting_video_decoder.cc
|
View
|
1
2
3
4
5
6
7
|
12 chunks |
+62 lines, -115 lines |
0 comments
|
Download
|
|
M |
media/filters/ffmpeg_video_decoder.h
|
View
|
1
2
|
2 chunks |
+4 lines, -13 lines |
0 comments
|
Download
|
|
M |
media/filters/ffmpeg_video_decoder.cc
|
View
|
1
2
3
4
5
|
8 chunks |
+30 lines, -64 lines |
0 comments
|
Download
|
|
M |
media/filters/ffmpeg_video_decoder_unittest.cc
|
View
|
1
2
|
8 chunks |
+10 lines, -36 lines |
0 comments
|
Download
|
|
M |
media/filters/gpu_video_decoder.cc
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+22 lines, -44 lines |
0 comments
|
Download
|
|
M |
media/filters/pipeline_integration_test_base.cc
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
media/filters/video_renderer_base.h
|
View
|
1
2
|
5 chunks |
+12 lines, -4 lines |
0 comments
|
Download
|
|
M |
media/filters/video_renderer_base.cc
|
View
|
1
2
|
13 chunks |
+31 lines, -14 lines |
0 comments
|
Download
|
|
M |
media/filters/video_renderer_base_unittest.cc
|
View
|
1
2
|
3 chunks |
+3 lines, -16 lines |
0 comments
|
Download
|
|
M |
media/tools/player_x11/player_x11.cc
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
webkit/media/webmediaplayer_impl.cc
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 9 (0 generated)
|