decord/source/modules/clips/getPOVExportTarget.tsx
github-actions 20a21ad13f chore: update source for alpha 346.5
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4791.js (118.4 MB)
2026-09-11 19:12:58 +00:00

21 lines
641 B
TypeScript

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