Skip to content

Commit 9c4af6a

Browse files
committed
fix(xml): resolution should now be properly handled if supplied
1 parent ccfdbe1 commit 9c4af6a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/XML/genXML.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export class XML extends Generator {
88
const builder = new xmlBuilder();
99
const [width, height] = (() => {
1010
const split = this.resolution?.split('x');
11-
return split ? split.map(parseInt) : [null, null];
11+
return split ? split.map(n=>parseInt(n)) : [null, null];
1212
})();
1313
builder.buildContext(path.parse(this.clipName).name, width, height, this.frameRate, this.cuts[this.cuts.length - 1].end, () => {
1414
this.cuts.forEach((cut) => {

0 commit comments

Comments
 (0)