libav-wasm 0.8.1 → 0.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/worker.js +6 -1
- package/package.json +1 -1
package/build/worker.js
CHANGED
|
@@ -3625,7 +3625,12 @@ const id = Ht, ad = (e, i) => id({
|
|
|
3625
3625
|
const T = await h.init(C(W));
|
|
3626
3626
|
return F = {
|
|
3627
3627
|
codec: T.info.input.videoMimeType,
|
|
3628
|
-
description: T.videoExtradata
|
|
3628
|
+
description: T.videoExtradata,
|
|
3629
|
+
// Hardware decoders return frames that all rasterize as the FIRST
|
|
3630
|
+
// decoded frame under this one-keyframe-per-flush pattern (verified
|
|
3631
|
+
// on Chrome/NVIDIA); software decode is correct and plenty for
|
|
3632
|
+
// thumbnail-sized output.
|
|
3633
|
+
hardwareAcceleration: "prefer-software"
|
|
3629
3634
|
}, M.state === "unconfigured" && M.configure(F), T;
|
|
3630
3635
|
},
|
|
3631
3636
|
seek: (W, T) => h.seek(C(W), T),
|