Commit 52e2808
committed
[duplicated subtitle] Fix the issue of duplicated subtitles on the screen display (with ExoPlayer module).
- Replace StreamInfo.getSubtitles() with AppStreamInfo.loadNormalizedSubtitles()
to download TTML subtitles and deduplicate them.
- Note: each module calling subtitle normalization will perform network download
independently. AppStreamInfo cannot be shared across modules like StreamInfo.1 parent 0fadb57 commit 52e2808
1 file changed
Lines changed: 3 additions & 1 deletion
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
136 | 137 | | |
137 | 138 | | |
138 | 139 | | |
139 | | - | |
| 140 | + | |
| 141 | + | |
140 | 142 | | |
141 | 143 | | |
142 | 144 | | |
| |||
0 commit comments