change pbf to utf-16

seems to be the official format
https://github.com/mifi/lossless-cut/issues/867#issuecomment-950345845
pull/900/head
Mikael Finstad 4 years ago
parent 17a33dd5df
commit c1089d0a81
No known key found for this signature in database
GPG Key ID: 25AB36E3E81CBC26

@ -25,7 +25,7 @@ export async function loadXmeml(path) {
}
export async function loadPbf(path) {
return parsePbf(await fs.readFile(path, 'utf-8'));
return parsePbf(await fs.readFile(path, 'utf16le'));
}
export async function loadMplayerEdl(path) {

Loading…
Cancel
Save