Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
84881739
authored
Oct 04, 2021
by
kimvde
Committed by
kim-vde
Oct 04, 2021
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Map TS stream type 0x80 to H262
Issue: #9472 PiperOrigin-RevId: 400715255
parent
912c47ff
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
0 deletions
RELEASENOTES.md
library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ts/DefaultTsPayloadReaderFactory.java
library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ts/TsExtractor.java
RELEASENOTES.md
View file @
84881739
...
@@ -38,6 +38,8 @@
...
@@ -38,6 +38,8 @@
*
Extractors:
*
Extractors:
*
MP4: Correctly handle HEVC tracks with pixel aspect ratios other than 1.
*
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: 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:
*
Downloads and caching:
*
Modify
`DownloadService`
behavior when
`DownloadService.getScheduler`
*
Modify
`DownloadService`
behavior when
`DownloadService.getScheduler`
returns
`null`
, or returns a
`Scheduler`
that does not support the
returns
`null`
, or returns a
`Scheduler`
that does not support the
...
...
library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ts/DefaultTsPayloadReaderFactory.java
View file @
84881739
...
@@ -161,6 +161,7 @@ public final class DefaultTsPayloadReaderFactory implements TsPayloadReader.Fact
...
@@ -161,6 +161,7 @@ public final class DefaultTsPayloadReaderFactory implements TsPayloadReader.Fact
case
TsExtractor
.
TS_STREAM_TYPE_DTS
:
case
TsExtractor
.
TS_STREAM_TYPE_DTS
:
return
new
PesReader
(
new
DtsReader
(
esInfo
.
language
));
return
new
PesReader
(
new
DtsReader
(
esInfo
.
language
));
case
TsExtractor
.
TS_STREAM_TYPE_H262
:
case
TsExtractor
.
TS_STREAM_TYPE_H262
:
case
TsExtractor
.
TS_STREAM_TYPE_DC2_H262
:
return
new
PesReader
(
new
H262Reader
(
buildUserDataReader
(
esInfo
)));
return
new
PesReader
(
new
H262Reader
(
buildUserDataReader
(
esInfo
)));
case
TsExtractor
.
TS_STREAM_TYPE_H263
:
case
TsExtractor
.
TS_STREAM_TYPE_H263
:
return
new
PesReader
(
new
H263Reader
(
buildUserDataReader
(
esInfo
)));
return
new
PesReader
(
new
H263Reader
(
buildUserDataReader
(
esInfo
)));
...
...
library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ts/TsExtractor.java
View file @
84881739
...
@@ -97,6 +97,7 @@ public final class TsExtractor implements Extractor {
...
@@ -97,6 +97,7 @@ public final class TsExtractor implements Extractor {
public
static
final
int
TS_STREAM_TYPE_DVBSUBS
=
0x59
;
public
static
final
int
TS_STREAM_TYPE_DVBSUBS
=
0x59
;
// Stream types that aren't defined by the MPEG-2 TS specification.
// 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_STREAM_TYPE_AIT
=
0x101
;
public
static
final
int
TS_SYNC_BYTE
=
0x47
;
// First byte of each TS packet.
public
static
final
int
TS_SYNC_BYTE
=
0x47
;
// First byte of each TS packet.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment