GNOME Bugzilla – Bug 797187
matroskademux: Emit no-more-pads after parsing Tracks
Last modified: 2018-09-24 12:49:47 UTC
Currently matroskademux does not emit no-more-pads until the first Cluster is parsed, even though the Tracks have already been parsed and from that point on there can be no more tracks. This is important in MSE because the browser needs to know when the MSE initialization segment has been completely parsed so that it can expose the tracks to the user. Some applications depend on this been done before they feed frames to the demuxer. As a consequence, historically WebKit has relied on hacks such as listening to the `pad-added` event, which made impossible to support multiple tracks in the same file. Let's fix that.
Created attachment 373735 [details] [review] matroskademux: Emit no-more-pads after parsing Tracks
Attachment 373735 [details] pushed as 7ceefec - matroskademux: Emit no-more-pads after parsing Tracks