Revert "Media Viewer: Fix video preview errors in Firefox (#3602)"
This reverts commit 422369f29888c8bcaeb2b9e9dcd7326db9056239.
This commit is contained in:
parent
c91fb99c05
commit
634d3f19dd
@ -178,7 +178,7 @@ export function createImageBitmap(
|
||||
for (let i = 0; i < frame.data.length; i++) {
|
||||
const plane = frame.data[i];
|
||||
for (let y = 0; y < plane.length; y++) {
|
||||
const row = plane[y].subarray(0, image.codedWidth * 4);
|
||||
const row = plane[y];
|
||||
frameData.data.set(row, idx);
|
||||
idx += row.length;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user