mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Update TrackEvent.java
This commit is contained in:
parent
fc2099dede
commit
b27b65199a
1 changed files with 31 additions and 33 deletions
|
|
@ -115,8 +115,7 @@ import androidx.media3.common.util.UnstableApi;
|
|||
}
|
||||
|
||||
statusByte = firstByte;
|
||||
} else {
|
||||
if (firstByte == META_EVENT_STATUS) { // This is a Meta event.
|
||||
} else if (firstByte == META_EVENT_STATUS) { // This is a Meta event.
|
||||
int metaEventMessageType = parsableTrackEventBytes.readUnsignedByte();
|
||||
int eventLength = readVariableLengthInt(parsableTrackEventBytes);
|
||||
|
||||
|
|
@ -151,8 +150,7 @@ import androidx.media3.common.util.UnstableApi;
|
|||
} while (currentByte != SYSEX_END_STATUS);
|
||||
} else {
|
||||
throw ParserException.createForUnsupportedContainerFeature(
|
||||
"Unknown track events.");
|
||||
}
|
||||
"Unknown track event: " + firstByte);
|
||||
}
|
||||
|
||||
eventFileSizeBytes = parsableTrackEventBytes.getPosition() - startingPosition;
|
||||
|
|
|
|||
Loading…
Reference in a new issue