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
eb6fc93b
authored
Mar 16, 2023
by
Rohit Singh
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge pull request #11061 from cedricxperi:dts-udts-support
PiperOrigin-RevId: 517067549
parents
ddbad570
3909db2a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/Atom.java
library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/AtomParsers.java
library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/Atom.java
View file @
eb6fc93b
...
...
@@ -177,6 +177,9 @@ import java.util.List;
public
static
final
int
TYPE_ddts
=
0x64647473
;
@SuppressWarnings
(
"ConstantCaseForConstants"
)
public
static
final
int
TYPE_udts
=
0x75647473
;
@SuppressWarnings
(
"ConstantCaseForConstants"
)
public
static
final
int
TYPE_tfdt
=
0x74666474
;
@SuppressWarnings
(
"ConstantCaseForConstants"
)
...
...
library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/AtomParsers.java
View file @
eb6fc93b
...
...
@@ -1604,7 +1604,7 @@ import org.checkerframework.checker.nullness.compatqual.NullableType;
// because these streams can carry simultaneously multiple representations of the same
// audio. Use stereo by default.
channelCount
=
2
;
}
else
if
(
childAtomType
==
Atom
.
TYPE_ddts
)
{
}
else
if
(
childAtomType
==
Atom
.
TYPE_ddts
||
childAtomType
==
Atom
.
TYPE_udts
)
{
out
.
format
=
new
Format
.
Builder
()
.
setId
(
trackId
)
...
...
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