mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-10-02 21:33:52 +02:00
Fix HLS writing an incomplete init segment for sparse segments, improve decoder config validation, fix getFirstTimestamp() for Inputs with zero-packet tracks, allow zero-track muxing for some formats that allow it, add new track metadata that allows you to specify the decoder config early (enables zero-packet tracks), fix trafIndices in sparse fragmented MP4s, fix assertion errors in MPEG-TS demuxer
This commit is contained in:
@@ -713,6 +713,11 @@ export class MpegTsDemuxer extends Demuxer {
|
||||
}
|
||||
|
||||
for (const stream of this.elementaryStreams) {
|
||||
if (!stream.initialized) {
|
||||
// Stream was declared but no initialization data for it was found
|
||||
continue;
|
||||
}
|
||||
|
||||
if (stream.info.type === 'video') {
|
||||
this.trackBackingEntries.push(
|
||||
new MpegTsVideoTrackBacking(stream as ElementaryVideoStream),
|
||||
|
||||
Reference in New Issue
Block a user