decord/alpha/source/modules/clips/getPOVExportTarget.tsx
github-actions 6eea20b8e1 chore: update source for alpha 348.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5014.js (118.4 MB)
2026-09-24 10:59:02 +00:00

21 lines
641 B
TypeScript

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