Commit Graph

7 Commits

Author SHA1 Message Date
Sandra Lokshina 134119ecfa Add new time formats and refactor time parsing logic for TTML parser.
Issue #111

Change-Id: Ia9ebcd9be19ebdc452d9554ace116265d5a7d59c
2016-07-07 13:07:02 -07:00
Sandra Lokshina 63823ae8f6 Add tests for Ttml Parser
Change-Id: Ic92cee8608f7fcbc24ecebf9ffbed77e7888a9c8
2016-06-30 22:39:13 +00:00
Sandra Lokshina 2e86da6995 Add TTML XML parser plugin
This adds support for TTML in XML form only.  TTML embedded in MP4 will
be added later.

Issue #111

Change-Id: Ic44cbcc57c6105c398778e676565f2511bfd8a73
2016-06-28 16:48:21 +00:00
Jacob Trimble 19973d63f4 Changed copyright headers from 2015 to 2016.
Change-Id: I429ff27e4794c03b7ea392e38415075077f9bfb1
2016-03-15 16:32:13 -07:00
Jacob Trimble 8daf53e329 Renamed shaka.asserts to goog.asserts.
Using goog.asserts will work with the compiler.  So rather than
simply casting a nullable value when passing to a method, we can use
an assert which will correct the type and print a log if it somehow
is null.

This is not the same goog.asserts found in closure library, this
simply calls console.assert, but it is not required to do anything
for the compiler help.

Change-Id: I2548e39e772f0aa7ec41437cf9f5a2be383e0fbd
2016-03-11 15:29:20 -08:00
Joey Parrish 9dbd6e6549 Add messages to all assertions
This makes debugging easier when an assertion fails.

Change-Id: I362e58706c71a12cffcda84dcd0b9ad281c51f30
2015-12-04 02:17:28 +00:00
Jacob Trimble 72cd63fc2b Added WebVTT text parser.
b/25325209

Change-Id: I1f3f267a27d758d0cbe8a0ef91811d422d4f0193
2015-11-25 12:14:05 -08:00