Fix too many tracks being removed

This commit is contained in:
Vanilagy
2026-01-12 16:47:31 +01:00
parent 32d8b1544d
commit 571fbb3198
4 changed files with 8 additions and 9 deletions
-1
View File
@@ -1160,7 +1160,6 @@ export class MatroskaDemuxer extends Demuxer {
const enabled = readUnsignedInt(slice, size);
if (!enabled) {
this.currentSegment!.tracks.pop();
this.currentTrack = null;
}
}; break;