Skip to content

The swiss army knife of lossless video/audio editing

implement more lax potplayer matching #867

Mikael Finstad9a6b68937755
diff --git a/src/edlFormats.js b/src/edlFormats.js
index 8f3a138c..2d3c9853 100644
--- a/src/edlFormats.js
+++ b/src/edlFormats.js
@@ -91,7 +91,7 @@ export function parseCuesheet(cuesheet) {
export function parsePbf(text) {
const chapters = text.split('\n').map((line) => {
- const match = line.match(/^[0-9]+=([0-9]+)\*([^*]+)*/);
+ const match = line.match(/^[0-9]+=([0-9]+)\*([^*]+)*([^*]+)?/);
if (match) return { time: parseInt(match[1], 10) / 1000, name: match[2] };
return undefined;
}).filter((it) => it);