decord/beta/source/modules/clips/getPOVExportTarget.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

21 lines
641 B
TypeScript

// Module ID: 14080
// Function ID: 14081
// Name: getPOVExportTarget
// Dependencies: [2]
// Exports: default
// Module 14080 (getPOVExportTarget)
import size from "module_2" /* 2 */;
const result = size.fileFinishedImporting("modules/clips/getPOVExportTarget.tsx");
export default function getPOVExportTarget(duration_secs) {
if (null != duration_secs.duration_secs) {
if (null != duration_secs.clip_sync_timestamp) {
const obj = { duration: duration_secs.duration_secs, syncTimestamp: null };
const _Date = Date;
obj.syncTimestamp = Date.parse(duration_secs.clip_sync_timestamp);
return obj;
}
}
};