media/library/src/main/java/com/google/android/exoplayer2
olly 45c68a2fd5 Use separate mimeType for CEA-608 embedded in MP4
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
2016-11-30 22:02:55 +00:00
..
audio Add support for resetting the AudioTrack stream type. 2016-11-21 19:13:34 +00:00
decoder Use @IntDef where possible. 2016-09-28 11:25:02 +01:00
drm Fix some analysis warnings. 2016-11-25 20:18:32 +00:00
extractor Use separate mimeType for CEA-608 embedded in MP4 2016-11-30 22:02:55 +00:00
mediacodec drainOutputBuffer return false on EOS 2016-11-30 21:55:25 +00:00
metadata Fix lint errors 2016-11-30 21:59:32 +00:00
source Add #EXT-X-PROGRAM-DATE-TIME support for HLS media playlists 2016-11-30 22:00:17 +00:00
text Use separate mimeType for CEA-608 embedded in MP4 2016-11-30 22:02:55 +00:00
trackselection Add option to select track that exceeds renderer capabilities 2016-11-30 21:58:13 +00:00
ui Make Timeline always non-null from ExoPlayer 2016-11-25 20:18:32 +00:00
upstream Fix possible failure in CachedContentIndex encrypted cache index file read. 2016-11-30 22:01:00 +00:00
util Use separate mimeType for CEA-608 embedded in MP4 2016-11-30 22:02:55 +00:00
video Allow changing of video scaling mode 2016-11-21 19:14:39 +00:00
BaseRenderer.java Fix a bunch more Javadoc 2016-08-31 15:25:24 +01:00
C.java Allow changing of video scaling mode 2016-11-21 19:14:39 +00:00
DefaultLoadControl.java Report track groups and selections through ExoPlayer 2016-10-27 12:27:55 +01:00
ExoPlaybackException.java Use @IntDef where possible. 2016-09-28 11:25:02 +01:00
ExoPlayer.java Make Timeline always non-null from ExoPlayer 2016-11-25 20:18:32 +00:00
ExoPlayerFactory.java Improve SimpleExoPlayer flexibility 2016-11-25 20:18:32 +00:00
ExoPlayerImpl.java Make Timeline always non-null from ExoPlayer 2016-11-25 20:18:32 +00:00
ExoPlayerImplInternal.java Fix issue with seeking before timeline available 2016-11-25 20:18:32 +00:00
ExoPlayerLibraryInfo.java Bump version to r2.0.4 2016-10-20 12:20:10 +01:00
Format.java Added support for multiple RawCC (CEA-608/CEA-708) tracks in DASH. 2016-11-10 21:14:57 +00:00
FormatHolder.java Fix a bunch more Javadoc 2016-08-31 15:25:24 +01:00
LoadControl.java Report track groups and selections through ExoPlayer 2016-10-27 12:27:55 +01:00
ParserException.java Fix a bunch more Javadoc 2016-08-31 15:25:24 +01:00
Renderer.java Fix a bunch more Javadoc 2016-08-31 15:25:24 +01:00
RendererCapabilities.java Fix a bunch more Javadoc 2016-08-31 15:25:24 +01:00
SimpleExoPlayer.java Improve SimpleExoPlayer flexibility 2016-11-25 20:18:32 +00:00
Timeline.java Make Timeline always non-null from ExoPlayer 2016-11-25 20:18:32 +00:00