init commit
This commit is contained in:
10
remotion/node_modules/@remotion/webcodecs/dist/calculate-progress.js
generated
vendored
Normal file
10
remotion/node_modules/@remotion/webcodecs/dist/calculate-progress.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.calculateProgress = void 0;
|
||||
const calculateProgress = ({ millisecondsWritten, expectedOutputDurationInMs, }) => {
|
||||
if (expectedOutputDurationInMs === null) {
|
||||
return null;
|
||||
}
|
||||
return millisecondsWritten / expectedOutputDurationInMs;
|
||||
};
|
||||
exports.calculateProgress = calculateProgress;
|
||||
Reference in New Issue
Block a user