decord/beta/source/modules/media_engine/GlobalFramePoolLockExperiment.tsx
github-actions 9b6fea255e chore: update source for beta 346.12
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-18 19:45:33 +00:00

30 lines
1 KiB
TypeScript

// Module ID: 14097
// Function ID: 14098
// Name: GlobalFramePoolLockExperiment
// Dependencies: [1434, 2]
// Exports: getGlobalFramePoolLockExperimentConfig
// Module 14097 (GlobalFramePoolLockExperiment)
import apex_ApexExperimentDefault from "apex/ApexExperiment" /* 1434 */;
const obj = { kind: "user", name: "2025-11-global-frame-pool-lock", defaultConfig: { enabled: false }, variations: null };
let obj2 = { 1: null };
obj2[1] = { enabled: true };
obj.variations = obj2;
let closure_0 = apex_ApexExperimentDefault(obj);
const size = fn(2);
const result = size.fileFinishedImporting("modules/media_engine/GlobalFramePoolLockExperiment.tsx");
export const getGlobalFramePoolLockExperimentConfig = function getGlobalFramePoolLockExperimentConfig(disable) {
let flag = disable.disable;
if (flag === undefined) {
flag = false;
}
if (flag) {
let defaultConfig = obj.definition.defaultConfig;
} else {
const obj2 = { location: disable.location };
defaultConfig = obj.getConfig(obj2);
}
return defaultConfig;
};