mirror of
https://github.com/androidx/media.git
synced 2025-05-12 18:19:50 +08:00
#1583 - Correcting comment in TtmlNode#getCues()
This commit is contained in:
parent
254a586e27
commit
eafca5402a
@ -191,7 +191,7 @@ import java.util.TreeSet;
|
|||||||
|
|
||||||
List<Cue> cues = new ArrayList<>();
|
List<Cue> cues = new ArrayList<>();
|
||||||
|
|
||||||
// Create text based cues
|
// Create image based cues
|
||||||
for (Pair<String, String> regionImagePair : regionImageList) {
|
for (Pair<String, String> regionImagePair : regionImageList) {
|
||||||
String base64 = imageMap.get(regionImagePair.second);
|
String base64 = imageMap.get(regionImagePair.second);
|
||||||
byte[] decodedString = Base64.decode(base64, Base64.DEFAULT);
|
byte[] decodedString = Base64.decode(base64, Base64.DEFAULT);
|
||||||
@ -210,7 +210,7 @@ import java.util.TreeSet;
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create image based cues
|
// Create text based cues
|
||||||
for (Entry<String, SpannableStringBuilder> entry : regionOutputs.entrySet()) {
|
for (Entry<String, SpannableStringBuilder> entry : regionOutputs.entrySet()) {
|
||||||
TtmlRegion region = regionMap.get(entry.getKey());
|
TtmlRegion region = regionMap.get(entry.getKey());
|
||||||
cues.add(
|
cues.add(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user