mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-16 22:04:36 +00:00
Bug 1011149 - Video freezes when audio track is disabled on remote stream. r=jesup
This commit is contained in:
parent
b4ff677e59
commit
546b2e71e3
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user