mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-28 03:13:51 +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:
+2
-2
@@ -1018,9 +1018,9 @@ export class Conversion {
|
||||
|
||||
// Let's check if the conversion can actually be executed
|
||||
if (!this._composable) {
|
||||
this.isValid = this.output.hasEnoughTracks();
|
||||
this.isValid = this.output.hasEnoughTracks() && this.output.tracks.length > 0;
|
||||
} else {
|
||||
// Checking Output start validity is not up to us. We consider even zero-track conversions to be valid
|
||||
// Checking Output start validity is not up to us. We even consider zero-track conversions to be valid
|
||||
this.isValid = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user