mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Merge pull request #2170 from wischnow:main
PiperOrigin-RevId: 729558029
This commit is contained in:
commit
7c2e8c1c4b
@ -106,6 +106,9 @@ public final class VobsubParser implements SubtitleParser {
|
||||
|
||||
private static final class CueBuilder {
|
||||
|
||||
private static final int CMD_FORCE_START = 0;
|
||||
private static final int CMD_START = 1;
|
||||
private static final int CMD_STOP = 2;
|
||||
private static final int CMD_COLORS = 3;
|
||||
private static final int CMD_ALPHA = 4;
|
||||
private static final int CMD_AREA = 5;
|
||||
@ -198,6 +201,11 @@ public final class VobsubParser implements SubtitleParser {
|
||||
return;
|
||||
}
|
||||
break;
|
||||
case CMD_FORCE_START:
|
||||
case CMD_START:
|
||||
case CMD_STOP:
|
||||
// ignore unused commands without arguments
|
||||
break;
|
||||
case CMD_END:
|
||||
default:
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user