Move WebvttCueInfo.Builder inside WebvttCueParser
This class is only used to hold temporary data while we parse the settings and text, so we don't need it outside the Parser class. Also remove all state from WebvttCueParser - this increases the number of allocations, but there are already many and subtitles generally aren't very frequent (compared to e.g. video frames). PiperOrigin-RevId: 286200002
Showing
with
36 additions
and
320 deletions
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment