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
26fe1dc2
authored
Sep 01, 2016
by
Rik Heijdens
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Removed unnecessary member variable
parent
4d18e623
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
4 deletions
library/src/main/java/com/google/android/exoplayer2/text/eia608/Eia608Decoder.java
library/src/main/java/com/google/android/exoplayer2/text/eia608/Eia608Decoder.java
View file @
26fe1dc2
...
...
@@ -208,7 +208,6 @@ public final class Eia608Decoder implements SubtitleDecoder {
private
int
captionMode
;
private
int
captionRowCount
;
boolean
nextRowDown
;
// The Cue that's currently being built and decoded.
private
Eia608CueBuilder
currentCue
;
...
...
@@ -233,7 +232,6 @@ public final class Eia608Decoder implements SubtitleDecoder {
ccData
=
new
ParsableByteArray
();
subtitle
=
new
Eia608Subtitle
();
cues
=
new
LinkedList
<>();
nextRowDown
=
false
;
setCaptionMode
(
CC_MODE_UNKNOWN
);
captionRowCount
=
DEFAULT_CAPTIONS_ROW_COUNT
;
...
...
@@ -322,7 +320,6 @@ public final class Eia608Decoder implements SubtitleDecoder {
playbackPositionUs
=
0
;
currentCue
=
new
Eia608CueBuilder
();
cues
.
clear
();
nextRowDown
=
false
;
repeatableControlSet
=
false
;
repeatableControlCc1
=
0
;
repeatableControlCc2
=
0
;
...
...
@@ -501,7 +498,7 @@ public final class Eia608Decoder implements SubtitleDecoder {
// For PAC layout see: https://en.wikipedia.org/wiki/EIA-608#Control_commands
// Parse the "next row down" toggle.
nextRowDown
=
(
cc2
&
0x20
)
!=
0
;
boolean
nextRowDown
=
(
cc2
&
0x20
)
!=
0
;
int
row
=
ROW_INDICES
[
cc1
&
0x7
];
if
(
row
!=
currentCue
.
getRow
()
||
nextRowDown
)
{
...
...
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