media/libraries
ibaker f36ab87b38 Fix DASH CEA-608 parsing during extraction
This is similar to the HLS fix in 770ca66fbc

Similar to HLS, the original problem here was **not** modifying the
`Format` for caption tracks
embedded into the video stream. I tried just updating the format in
both places, but that caused new failures because the new
('transcoded') format was then fed into `FragmentedMp4Extractor` as
part of `closedCaptionFormats`, which resulted in the CEA-608 data
being emitted from `FragmentedMp4Extractor` with the incorrect
`application/x-media3-cues` MIME type (but the bytes were actually
CEA-608), meaning the transcoding wrapper passed it through without
transcoding and decoding failed (because obviously CEA-608 bytes can't
be decoded by `CueDecoder` which is expecting a `Bundle` from
`CuesWithTiming.toBundle`.

To resolve this we keep track of the 'original' caption formats inside
`TrackGroupInfo`, so we can feed them into `FragmentedMp4Extractor`.
For all other usages in `DashMediaPeriod` we use the 'transcoded'
caption formats.

PiperOrigin-RevId: 592866262
2023-12-21 08:25:03 -08:00
..
cast Return empty timeline when media info is null 2023-11-20 09:55:36 -08:00
common Use platform constants for PCM 24/32 bit encoding 2023-12-20 08:16:35 -08:00
container Remove empty container/src/androidTest directory 2023-12-11 10:41:51 -08:00
database Do not trim audio samples by changing their timestamp 2023-06-29 22:50:04 +00:00
datasource Move HttpEngineDataSource to the DataSource library. 2023-12-20 12:10:36 -08:00
datasource_cronet Do not trim audio samples by changing their timestamp 2023-06-29 22:50:04 +00:00
datasource_okhttp Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
datasource_rtmp Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
decoder Satisfy nullness checker correctness by using local variable 2023-10-31 12:56:32 +00:00
decoder_av1 Add Decoder.setOutputStartTimeUs and use it in extension decoders 2023-10-04 10:37:25 -07:00
decoder_ffmpeg Fix the check for clang complier in FFmpeg build file 2023-12-21 06:35:37 -08:00
decoder_flac Add more data to e2etest dumps 2023-07-13 15:33:33 +01:00
decoder_midi MidiExtractor: mark only the first sample as key-frame 2023-11-21 07:39:46 -08:00
decoder_opus Map VORBIS channel layout to Android layout 2023-12-05 03:01:32 -08:00
decoder_vp9 Add Decoder.setOutputStartTimeUs and use it in extension decoders 2023-10-04 10:37:25 -07:00
effect Effect: Move inputColorInfo javadoc to registerInputStream. 2023-12-15 10:52:22 -08:00
exoplayer Split creation of AudioCapabilitiesReceiver from instance access 2023-12-20 10:12:27 -08:00
exoplayer_dash Fix DASH CEA-608 parsing during extraction 2023-12-21 08:25:03 -08:00
exoplayer_hls Fix HLS CEA-608 when parsing during extraction 2023-12-20 08:52:39 -08:00
exoplayer_ima Set MIME type from IMA SDK on ads MediaItem 2023-11-14 09:12:07 -08:00
exoplayer_rtsp Merge pull request #491 from v-novaltd:dsparano-exo128 2023-10-17 06:35:19 -07:00
exoplayer_smoothstreaming Fix sending negative bufferedDurationUs to CmcdData.Factory 2023-12-14 17:39:41 -08:00
exoplayer_workmanager Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
extractor Throw a clear error from Cea608/708Parser.parseToLegacySubtitle 2023-12-19 08:34:37 -08:00
muxer Split Mp4Writer into an abstract class and DefaultMp4Writer 2023-12-21 08:02:01 -08:00
session Fix broadcasting notifyChildrenChanged for legacy controllers 2023-12-14 05:20:39 -08:00
test_data Fix HLS CEA-608 when parsing during extraction 2023-12-20 08:52:39 -08:00
test_exoplayer_playback Add android.namespace to all build.gradle files 2023-05-19 17:19:15 +01:00
test_session_common Add session extras to the state of the controller 2023-11-21 14:32:33 -08:00
test_session_current Fix broadcasting notifyChildrenChanged for legacy controllers 2023-12-14 05:20:39 -08:00
test_utils Effect: Move VideoFrameProcessor inputColorInfo interface to FrameInfo. 2023-12-15 09:17:39 -08:00
test_utils_robolectric Fix handling of multiple HEVC tracks in JPEG motion photos 2023-12-11 08:31:13 -08:00
transformer Test: Update tone mapping capabilities check output format. 2023-12-21 07:30:07 -08:00
ui Workaround layout problems with Material Design 2023-11-15 02:57:03 -08:00
ui_leanback Prevent forwarding of zero video size to Leanback 2023-08-30 12:20:51 -07:00
lint.xml Update recommended way to suppress @UnstableApi errors in lint.xml 2023-11-15 02:34:40 -08:00