|
Wire up codec_delay() to MP3StreamParser and FFmpegAudioDecoder.
Allows us to drop silent samples from the decoder after initialization
and resets.
codec_delay() is always in frames, so I've changed all call sites to use
frames instead of a TimeDelta.
Coincidentally also fixes an issue where not enough data was dropped from
Vorbis buffers with negative timestamps.
BUG= 360961
TEST=new pipeline_integration_test
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=264763
Total comments: 3
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+96 lines, -77 lines) |
Patch |
 |
M |
media/base/audio_decoder_config.h
|
View
|
1
2
|
3 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
media/base/audio_decoder_config.cc
|
View
|
1
|
5 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
media/ffmpeg/ffmpeg_common.cc
|
View
|
1
2
|
2 chunks |
+1 line, -7 lines |
0 comments
|
Download
|
 |
M |
media/filters/decrypting_audio_decoder_unittest.cc
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/filters/decrypting_demuxer_stream.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
media/filters/ffmpeg_audio_decoder.cc
|
View
|
1
2
3
4
|
4 chunks |
+21 lines, -23 lines |
0 comments
|
Download
|
 |
M |
media/filters/opus_audio_decoder.h
|
View
|
1
|
1 chunk |
+2 lines, -8 lines |
0 comments
|
Download
|
 |
M |
media/filters/opus_audio_decoder.cc
|
View
|
1
2
|
5 chunks |
+10 lines, -11 lines |
0 comments
|
Download
|
 |
M |
media/filters/pipeline_integration_test.cc
|
View
|
1
2
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/formats/mp4/mp4_stream_parser.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
media/formats/mpeg/adts_stream_parser.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
media/formats/mpeg/mp3_stream_parser.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/formats/mpeg/mp3_stream_parser_unittest.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/formats/mpeg/mpeg_audio_stream_parser_base.h
|
View
|
1
2
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/formats/mpeg/mpeg_audio_stream_parser_base.cc
|
View
|
1
2
|
2 chunks |
+14 lines, -5 lines |
0 comments
|
Download
|
 |
M |
media/formats/webm/webm_audio_client.cc
|
View
|
1
2
|
1 chunk |
+15 lines, -3 lines |
0 comments
|
Download
|
Total messages: 19 (0 generated)
|