mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-18 16:08:56 +00:00
perf(engine): a --gpu render probes the GPU encoders once, not twice (#6638)
* perf(engine,cli): a machine's GPU encoder probe runs once, not on every render * refactor(engine): one shared probe per process, no answer kept on disk
This commit is contained in:
@@ -186,7 +186,7 @@ export function getEncoderPreset(
|
||||
}
|
||||
|
||||
// Re-export GPU utilities so existing consumers that import from chunkEncoder still work.
|
||||
export { detectGpuEncoder, type GpuEncoder } from "../utils/gpuEncoder.js";
|
||||
export { detectGpuEncoder, getCachedGpuEncoder, type GpuEncoder } from "../utils/gpuEncoder.js";
|
||||
|
||||
/** The `lockGopForChunkConcat` / `gopSize` pair, shared by every encoder entry point. */
|
||||
export interface LockedGopOptions {
|
||||
|
||||
Reference in New Issue
Block a user