Improve subtitle handling.
- 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.
Showing
with
43 additions
and
29 deletions
Please
register
or
sign in
to comment