commit | be7ff797423b718673196833de28b1d3801ebcef | [log] [tgz] |
---|---|---|
author | Alicia Boya GarcĂa <ntrrgc@gmail.com> | Thu Nov 30 20:44:23 2017 +0100 |
committer | Thibault Saunier <tsaunier@igalia.com> | Fri Sep 21 18:28:18 2018 -0300 |
tree | 76781f96125dfebe5036d724635d56b2cf77c4ed | |
parent | 9333e823fe36f5ce08eef79e6ad6904b705c5655 [diff] |
matroskademux: Allow Matroska headers to be read more than once This is necessary for MSE, where a new MSE initialization segment may be appended at any point. These MSE initialization segments consist of an entire WebM file until the first Cluster element (not included). [1] Note that track definitions are ignored on successive headers, they must match, but this is not checked by matroskademux (look for `(!demux->tracks_parsed)` in the code). Source pads are not altered when the new headers are read. This patch has been splitted from the original patch from eocanha in [2]. [1] https://www.w3.org/TR/mse-byte-stream-format-webm/ [2] https://bug334082.bugzilla-attachments.gnome.org/attachment.cgi?id=362212 https://bugzilla.gnome.org/show_bug.cgi?id=793333