26 lines
639 B
JavaScript
26 lines
639 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.getProResProfileName = void 0;
|
|
const getProResProfileName = (codec, proResProfile) => {
|
|
if (codec !== 'prores') {
|
|
return null;
|
|
}
|
|
switch (proResProfile) {
|
|
case '4444-xq':
|
|
return '5';
|
|
case '4444':
|
|
return '4';
|
|
case 'hq':
|
|
return '3';
|
|
case 'standard':
|
|
return '2';
|
|
case 'light':
|
|
return '1';
|
|
case 'proxy':
|
|
return '0';
|
|
default:
|
|
return '3';
|
|
}
|
|
};
|
|
exports.getProResProfileName = getProResProfileName;
|