|
Add support for cancellation of demuxer reads.
This speeds up seek and suspend significantly in the case of a hung
read; on slow networks this may shave hundreds of milliseconds or more
off the seek and suspend times.
Notably this also resolves a CHECK() crash for overlapping reads
by aborting any existing reads when a new read comes in.
Note: Also removes some log spam from canceled reads / tests.
BUG= 165762, 638018
TEST=manual, new unittests
Committed: https://crrev.com/f299e19db62058180acf4276540670a90ff7b472
Cr-Commit-Position: refs/heads/master@{#415401}
Total comments: 7
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+216 lines, -104 lines) |
Patch |
|
M |
chrome/utility/media_galleries/ipc_data_source.h
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/utility/media_galleries/ipc_data_source.cc
|
View
|
1
2
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
media/base/data_source.h
|
View
|
1
2
3
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
media/base/demuxer.h
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
media/base/media_log.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
media/base/media_url_demuxer.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
media/base/media_url_demuxer.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
media/base/mock_filters.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
media/base/pipeline_impl.cc
|
View
|
1
2
|
4 chunks |
+8 lines, -10 lines |
0 comments
|
Download
|
|
M |
media/base/pipeline_impl_unittest.cc
|
View
|
1
2
3
4
|
6 chunks |
+6 lines, -10 lines |
0 comments
|
Download
|
|
M |
media/blink/multibuffer_data_source.h
|
View
|
1
2
3
4
|
2 chunks |
+1 line, -7 lines |
0 comments
|
Download
|
|
M |
media/blink/multibuffer_data_source.cc
|
View
|
1
2
3
4
|
3 chunks |
+12 lines, -12 lines |
0 comments
|
Download
|
|
M |
media/blink/multibuffer_data_source_unittest.cc
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
media/filters/blocking_url_protocol.cc
|
View
|
1
2
3
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
media/filters/chunk_demuxer.h
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
media/filters/chunk_demuxer.cc
|
View
|
1
2
|
4 chunks |
+15 lines, -3 lines |
0 comments
|
Download
|
|
M |
media/filters/ffmpeg_demuxer.h
|
View
|
1
2
3
4
|
4 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
|
M |
media/filters/ffmpeg_demuxer.cc
|
View
|
1
2
3
4
|
10 chunks |
+61 lines, -25 lines |
0 comments
|
Download
|
|
M |
media/filters/ffmpeg_demuxer_unittest.cc
|
View
|
1
2
3
4
|
5 chunks |
+73 lines, -25 lines |
0 comments
|
Download
|
|
M |
media/filters/file_data_source.h
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
media/filters/file_data_source.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
media/filters/memory_data_source.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
media/filters/memory_data_source.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 39 (20 generated)
|