diff options
author | bors-servo <servo-ops@mozilla.com> | 2020-05-04 08:41:13 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-04 08:41:13 -0400 |
commit | ad212b23ca73fea12ccd2ae995400b0fd9c028bc (patch) | |
tree | f7445bc667bf2d56dc81de5313d26a8a79b8ce84 /components/script/dom/htmltablesectionelement.rs | |
parent | 0b05b5ed87df685c1a6118328d66e31650bac812 (diff) | |
parent | 492faa31053cc80cc428977c48bc821043191616 (diff) | |
download | servo-ad212b23ca73fea12ccd2ae995400b0fd9c028bc.tar.gz servo-ad212b23ca73fea12ccd2ae995400b0fd9c028bc.zip |
Auto merge of #26401 - khodzha:audio-decoder-channels-indices, r=ferjm
fixed BaseAudioContext.DecodeAudioData progress callback
Gstreamer backend returns channel as single bit mask (ie 1, 2, 4, 8, 32 etc).
Progress callback was using this mask as plain channel index, thus storing decoded
audio in wrong channel.
(log2 conversion of int to int is subpar at best, but idk how to extract bit position in a clean way without a loop, any suggestions are welcome)
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #25840
- [X] There are tests for these changes
Diffstat (limited to 'components/script/dom/htmltablesectionelement.rs')
0 files changed, 0 insertions, 0 deletions