Skip to content

Commit

Permalink
google#1583 - Correcting comment in TtmlNode#getCues()
Browse files Browse the repository at this point in the history
  • Loading branch information
szaboa committed Nov 6, 2018
1 parent 254a586 commit eafca54
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public List<Cue> getCues(long timeUs, Map<String, TtmlStyle> globalStyles,

List<Cue> cues = new ArrayList<>();

// Create text based cues
// Create image based cues
for (Pair<String, String> regionImagePair : regionImageList) {
String base64 = imageMap.get(regionImagePair.second);
byte[] decodedString = Base64.decode(base64, Base64.DEFAULT);
Expand All @@ -210,7 +210,7 @@ public List<Cue> getCues(long timeUs, Map<String, TtmlStyle> globalStyles,
);
}

// Create image based cues
// Create text based cues
for (Entry<String, SpannableStringBuilder> entry : regionOutputs.entrySet()) {
TtmlRegion region = regionMap.get(entry.getKey());
cues.add(
Expand Down

0 comments on commit eafca54

Please sign in to comment.