media/library/dash/src
ibaker b8c8ce0ee0 Use Mp4WebvttDecoder for WebVTT content in DASH MP4 containers
This was broken by 74a9d8f680
because DashManifestParser switched to setting Format.sampleMimeType to
text/vtt while SubtitleDecoderFactory was still expecting
application/x-mp4-vtt. This change teaches SubtitleDecoderFactory to
check both Format.containerMimeType and Format.sampleMimeType.

I'll investigate a follow-up change to remove
MimeTypes.APPLICATION_MP4VTT completely (it's currently still used in
AtomParsers).

Issue: #7985
PiperOrigin-RevId: 334771672
2020-10-17 12:09:13 +01:00
..
main Merge pull request #7968 from DolbyLaboratories:dev-v2-channelConfiguration 2020-10-17 11:48:14 +01:00
test Use Mp4WebvttDecoder for WebVTT content in DASH MP4 containers 2020-10-17 12:09:13 +01:00