|
SourceState: Coalesce OnNewBuffers() CB to include OnTextBuffers() behavior
Merges the new audio/video buffer callback (SourceState::OnNewBuffers)
with the new text buffer callback (SourceState::OnTextBuffers), so that
stream parsers use only OnNewBuffers for all buffer types. The only
known behavior change is to DCHECK if there are no audio, video,
or text buffers. This is a prerequisite CL for implementing MSE
coded frame processing algorithm compliance and handling SourceBuffer
append modes correctly.
R=xhwang@chromium.org
BUG= 249422
TEST=All media_unittests pass on local linux with proprietary codecs enabled.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=246762
Total comments: 18
Total comments: 16
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+142 lines, -146 lines) |
Patch |
 |
M |
media/base/stream_parser.h
|
View
|
1
2
3
|
3 chunks |
+15 lines, -13 lines |
0 comments
|
Download
|
 |
M |
media/filters/chunk_demuxer.cc
|
View
|
1
2
3
|
7 chunks |
+40 lines, -26 lines |
0 comments
|
Download
|
 |
M |
media/formats/mp2t/mp2t_stream_parser.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
media/formats/mp2t/mp2t_stream_parser.cc
|
View
|
1
2
3
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/formats/mp2t/mp2t_stream_parser_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/formats/mp3/mp3_stream_parser.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
media/formats/mp3/mp3_stream_parser.cc
|
View
|
1
2
3
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/formats/mp3/mp3_stream_parser_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/formats/mp4/mp4_stream_parser.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
media/formats/mp4/mp4_stream_parser.cc
|
View
|
1
2
3
|
2 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/formats/mp4/mp4_stream_parser_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+9 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/formats/webm/webm_cluster_parser.h
|
View
|
1
2
3
|
3 chunks |
+12 lines, -20 lines |
0 comments
|
Download
|
 |
M |
media/formats/webm/webm_cluster_parser.cc
|
View
|
1
2
3
|
3 chunks |
+15 lines, -35 lines |
0 comments
|
Download
|
 |
M |
media/formats/webm/webm_cluster_parser_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+13 lines, -19 lines |
0 comments
|
Download
|
 |
M |
media/formats/webm/webm_stream_parser.h
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/formats/webm/webm_stream_parser.cc
|
View
|
1
2
3
|
4 chunks |
+6 lines, -16 lines |
0 comments
|
Download
|
Total messages: 11 (0 generated)
|