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
e33345e5
authored
Jan 04, 2016
by
Ian Bird
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Add support to identify (E)AC3 streams via TS descriptor tag
parent
f4c10dc5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
library/src/main/java/com/google/android/exoplayer/extractor/ts/TsExtractor.java
library/src/main/java/com/google/android/exoplayer/extractor/ts/TsExtractor.java
View file @
e33345e5
...
@@ -392,7 +392,14 @@ public final class TsExtractor implements Extractor {
...
@@ -392,7 +392,14 @@ public final class TsExtractor implements Extractor {
streamType
=
TS_STREAM_TYPE_H265
;
streamType
=
TS_STREAM_TYPE_H265
;
}
}
break
;
break
;
}
else
if
(
descriptorTag
==
0x6a
)
{
streamType
=
TS_STREAM_TYPE_AC3
;
}
else
if
(
descriptorTag
==
0x7a
)
{
streamType
=
TS_STREAM_TYPE_E_AC3
;
}
else
if
(
descriptorTag
==
0x7b
)
{
// TODO: TS_STREAM_TYPE_DTS;
}
}
data
.
skipBytes
(
descriptorLength
);
data
.
skipBytes
(
descriptorLength
);
}
}
data
.
setPosition
(
descriptorsEndPosition
);
data
.
setPosition
(
descriptorsEndPosition
);
...
...
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