mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1011149 - Video freezes when audio track is disabled on remote stream. r=jesup
This commit is contained in:
parent
1f7eeb76d8
commit
5e7352d0f5
@ -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…
Reference in New Issue
Block a user