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 || |
DaleCurtis
2016/11/01 23:05:13
Raw formats should just skip the sanitizer entirel
AndyWu
2016/11/04 18:04:24
Sorry, I am not sure what to do. Should I move the
chcunningham
2016/11/11 19:14:28
This whole file is now deleted. But Dale is right
AndyWu
2016/11/11 23:49:12
Thanks a lot for the well written article from Dal
|
+ input->sample_format() == kSampleFormatRaw) { |
AddOutputBuffer(input); |
return true; |
} |