decord/beta/source/modules/clips/getPOVExportTarget.tsx
github-actions e7a050048e chore: update source for beta 347.7
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4943.js (118.4 MB)
2026-09-21 19:31:18 +00:00

21 lines
641 B
TypeScript

// Module ID: 14265
// Function ID: 14266
// Name: getPOVExportTarget
// Dependencies: [2]
// Exports: default
// Module 14265 (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;
}
}
};