mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-16 16:16:40 +03:00
3af3a2caec
Beforehand, if we were parsing a ttml subtitles stored in an mp4, we did not account for the possibility that there would be multiple mdat boxes, each with its own ttml data. In such a case, we would only use the payload from the final mdat. I don't know if having multiple mdat like that is really in the spec, but at least one user has had this problem, and it's a straightforward change to make that doesn't really slow down the text parser at all (since we parse every mdat anyway). Closes #1028 Change-Id: Id782695548cb92f7aa7278843695b670d8c15ff0