decord/alpha/source/modules/clips/getPOVExportTarget.tsx
github-actions c8aa6b4991 chore: update source for alpha 349.0
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5021.js (118.4 MB)
2026-09-28 07:47:09 +00:00

21 lines
641 B
TypeScript

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