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
4076b08e
authored
Feb 20, 2015
by
Oliver Woodman
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Naming tweak
parent
b5100886
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
library/src/main/java/com/google/android/exoplayer/hls/parser/SeiReader.java
library/src/main/java/com/google/android/exoplayer/text/eia608/Eia608Parser.java
library/src/main/java/com/google/android/exoplayer/hls/parser/SeiReader.java
View file @
4076b08e
...
...
@@ -56,7 +56,7 @@ import com.google.android.exoplayer.util.ParsableByteArray;
payloadSize
+=
b
;
}
while
(
b
==
0xFF
);
// Process the payload. We only support EIA-608 payloads currently.
if
(
Eia608Parser
.
i
nspectSeiMessage
(
payloadType
,
payloadSize
,
seiBuffer
))
{
if
(
Eia608Parser
.
i
sSeiMessageEia608
(
payloadType
,
payloadSize
,
seiBuffer
))
{
startSample
(
pesTimeUs
);
appendData
(
seiBuffer
,
payloadSize
);
commitSample
(
true
);
...
...
library/src/main/java/com/google/android/exoplayer/text/eia608/Eia608Parser.java
View file @
4076b08e
...
...
@@ -189,7 +189,7 @@ public class Eia608Parser {
* @param payload A {@link ParsableByteArray} containing the payload.
* @return True if the sei message contains EIA-608. False otherwise.
*/
public
static
boolean
i
nspectSeiMessage
(
int
payloadType
,
int
payloadLength
,
public
static
boolean
i
sSeiMessageEia608
(
int
payloadType
,
int
payloadLength
,
ParsableByteArray
payload
)
{
if
(
payloadType
!=
PAYLOAD_TYPE_CC
||
payloadLength
<
8
)
{
return
false
;
...
...
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