When CEA-608 is embedded in MP4 each packet consists of cc_data_1 and cc_data_2 only. The marker_bits, cc_valid and cc_type are implicit. As a result playback of CEA-608 embedded in MP4 broke when we started passing the extra byte for the TS case (and adjusted the decoder to assume the byte was present). This change introduces a special mimeType for the case where the byte is implicit (!). An alternative option was to insert the extra byte every 2 bytes in the MP4 extractor, but this is really quite fiddly to get right. Also made the loops in the 608/708 decoders robust against input of the wrong length. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=140609304
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| cea | Loading commit data... | |
| subrip | Loading commit data... | |
| ttml | Loading commit data... | |
| tx3g | Loading commit data... | |
| webvtt | Loading commit data... | |
| CaptionStyleCompat.java | Loading commit data... | |
| Cue.java | Loading commit data... | |
| SimpleSubtitleDecoder.java | Loading commit data... | |
| SimpleSubtitleOutputBuffer.java | Loading commit data... | |
| Subtitle.java | Loading commit data... | |
| SubtitleDecoder.java | Loading commit data... | |
| SubtitleDecoderException.java | Loading commit data... | |
| SubtitleDecoderFactory.java | Loading commit data... | |
| SubtitleInputBuffer.java | Loading commit data... | |
| SubtitleOutputBuffer.java | Loading commit data... | |
| TextRenderer.java | Loading commit data... |