Commit 5284ad2e by Oliver Woodman

Merge pull request #5144 from google:dev-v2-vttfix

PiperOrigin-RevId: 222798467
parents 17eadcc4 166acad9
...@@ -110,7 +110,7 @@ public final class WebvttDecoder extends SimpleSubtitleDecoder { ...@@ -110,7 +110,7 @@ public final class WebvttDecoder extends SimpleSubtitleDecoder {
foundEvent = EVENT_END_OF_FILE; foundEvent = EVENT_END_OF_FILE;
} else if (STYLE_START.equals(line)) { } else if (STYLE_START.equals(line)) {
foundEvent = EVENT_STYLE_BLOCK; foundEvent = EVENT_STYLE_BLOCK;
} else if (COMMENT_START.startsWith(line)) { } else if (line.startsWith(COMMENT_START)) {
foundEvent = EVENT_COMMENT; foundEvent = EVENT_COMMENT;
} else { } else {
foundEvent = EVENT_CUE; foundEvent = EVENT_CUE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment