Map TS stream type 0x80 to H262
Issue: #9472 PiperOrigin-RevId: 400715255
This commit is contained in:
parent
912c47ff6f
commit
84881739ee
@ -38,6 +38,8 @@
|
||||
* Extractors:
|
||||
* MP4: Correctly handle HEVC tracks with pixel aspect ratios other than 1.
|
||||
* TS: Correctly handle HEVC tracks with pixel aspect ratios other than 1.
|
||||
* TS: Map stream type 0x80 to H262
|
||||
([#9472](https://github.com/google/ExoPlayer/issues/9472)).
|
||||
* Downloads and caching:
|
||||
* Modify `DownloadService` behavior when `DownloadService.getScheduler`
|
||||
returns `null`, or returns a `Scheduler` that does not support the
|
||||
|
@ -161,6 +161,7 @@ public final class DefaultTsPayloadReaderFactory implements TsPayloadReader.Fact
|
||||
case TsExtractor.TS_STREAM_TYPE_DTS:
|
||||
return new PesReader(new DtsReader(esInfo.language));
|
||||
case TsExtractor.TS_STREAM_TYPE_H262:
|
||||
case TsExtractor.TS_STREAM_TYPE_DC2_H262:
|
||||
return new PesReader(new H262Reader(buildUserDataReader(esInfo)));
|
||||
case TsExtractor.TS_STREAM_TYPE_H263:
|
||||
return new PesReader(new H263Reader(buildUserDataReader(esInfo)));
|
||||
|
@ -97,6 +97,7 @@ public final class TsExtractor implements Extractor {
|
||||
public static final int TS_STREAM_TYPE_DVBSUBS = 0x59;
|
||||
|
||||
// Stream types that aren't defined by the MPEG-2 TS specification.
|
||||
public static final int TS_STREAM_TYPE_DC2_H262 = 0x80;
|
||||
public static final int TS_STREAM_TYPE_AIT = 0x101;
|
||||
|
||||
public static final int TS_SYNC_BYTE = 0x47; // First byte of each TS packet.
|
||||
|
Loading…
x
Reference in New Issue
Block a user