Bug 1011149 - Video freezes when audio track is disabled on remote stream. r=jesup

This commit is contained in:
Randy Lin 2014-06-10 10:32:30 +08:00
parent 1f7eeb76d8
commit 5e7352d0f5

View File

@ -188,7 +188,7 @@ public:
AudioChunk& c = *ci;
// If this chunk is null, don't bother resampling, just alter its duration
if (c.IsNull()) {
c.mDuration *= aOutRate / aInRate;
c.mDuration = (c.mDuration * aOutRate) / aInRate;
mDuration += c.mDuration;
continue;
}