mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-11 23:00:03 +00:00
fix(engine): tune VP9 cpu-used across render paths (#1614)
* fix(engine): tune VP9 cpu-used across render paths * fix: address VP9 review feedback
This commit is contained in:
@@ -312,6 +312,23 @@ describe("renderLocal browser GPU config", () => {
|
||||
});
|
||||
});
|
||||
|
||||
it("forwards vp9CpuUsed into resolveConfig when set", async () => {
|
||||
await renderLocal("/tmp/project", "/tmp/out.webm", {
|
||||
fps: { num: 30, den: 1 },
|
||||
quality: "standard",
|
||||
format: "webm",
|
||||
gpu: false,
|
||||
browserGpuMode: "software",
|
||||
hdrMode: "auto",
|
||||
quiet: true,
|
||||
vp9CpuUsed: 2,
|
||||
});
|
||||
|
||||
expect(producerState.resolveConfigCalls[0]).toMatchObject({
|
||||
vp9CpuUsed: 2,
|
||||
});
|
||||
});
|
||||
|
||||
it("omits pageNavigationTimeout from resolveConfig when --browser-timeout is not set", async () => {
|
||||
await renderLocal("/tmp/project", "/tmp/out.mp4", {
|
||||
fps: { num: 30, den: 1 },
|
||||
|
||||
Reference in New Issue
Block a user