| Index: media/base/audio_splicer.cc
|
| diff --git a/media/base/audio_splicer.cc b/media/base/audio_splicer.cc
|
| index 0976c89432a3baef1ce06606b295b7d840c2bb4d..88d7aeef185e91cfa422261135a5e14e2c51ab2c 100644
|
| --- a/media/base/audio_splicer.cc
|
| +++ b/media/base/audio_splicer.cc
|
| @@ -183,7 +183,8 @@ bool AudioStreamSanitizer::AddInput(const scoped_refptr<AudioBuffer>& input) {
|
| if (!delta.is_zero())
|
| frames_to_fill = output_timestamp_helper_.GetFramesToTarget(timestamp);
|
|
|
| - if (frames_to_fill == 0 || std::abs(frames_to_fill) < kMinGapSize) {
|
| + if (frames_to_fill == 0 || std::abs(frames_to_fill) < kMinGapSize ||
|
| + input->sample_format() == kSampleFormatRaw) {
|
| AddOutputBuffer(input);
|
| return true;
|
| }
|
|
|