mirror of
https://github.com/samsonjs/media.git
synced 2026-03-27 09:45:47 +00:00
Add support for language descriptors in MPEG-2 TS
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=132559667
This commit is contained in:
parent
26466679df
commit
c78010c212
1 changed files with 1 additions and 1 deletions
|
|
@ -175,7 +175,7 @@ import com.google.android.exoplayer2.util.ParsableByteArray;
|
|||
headerScratchBits.skipBits(40);
|
||||
isEac3 = headerScratchBits.readBits(5) == 16;
|
||||
headerScratchBits.setPosition(headerScratchBits.getPosition() - 45);
|
||||
format = isEac3 ? Ac3Util.parseEac3SyncframeFormat(headerScratchBits, null, language, null)
|
||||
format = isEac3 ? Ac3Util.parseEac3SyncframeFormat(headerScratchBits, null, language , null)
|
||||
: Ac3Util.parseAc3SyncframeFormat(headerScratchBits, null, language, null);
|
||||
output.format(format);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue