Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

SDK / exoplayer

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Find file
HistoryPermalink
Switch branch/tag
  • exoplayer
  • ..
  • webvtt-in-mp4
  • sample.text.mp4
  • ibaker's avatar
    Use Mp4WebvttDecoder for WebVTT content in DASH MP4 containers · b8c8ce0e
    This was broken by https://github.com/google/ExoPlayer/commit/74a9d8f680995f2096c59fde6cd1ef6e85bb4d55
    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
    ibaker committed Oct 17, 2020
    b8c8ce0e
sample.text.mp4 1006 Bytes

Download (1006 Bytes)