mirror of
https://github.com/androidx/media.git
synced 2025-05-06 23:20:42 +08:00

- Move parsing onto a background thread. This is analogous to how frame decoding is pushed to MediaCodec, and should prevent possible jank when new subtitle samples are parsed. This is more important for out-of-band subtitles, which can take a second or two to parse fully. - Add Useful DataSpec method.