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
fda2d143
authored
Dec 02, 2016
by
Oliver Woodman
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
CEA 608 bugfix
parent
421dab43
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
library/src/main/java/com/google/android/exoplayer2/text/cea/Cea608Decoder.java
library/src/main/java/com/google/android/exoplayer2/text/cea/Cea608Decoder.java
View file @
fda2d143
...
...
@@ -409,7 +409,7 @@ public final class Cea608Decoder extends CeaDecoder {
// underline toggle
boolean
nextRowDown
=
(
cc2
&
0x20
)
!=
0
;
if
(
row
!=
currentCueBuilder
.
getRow
()
||
nextRowDown
)
{
if
(!
currentCueBuilder
.
isEmpty
())
{
if
(
captionMode
!=
CC_MODE_ROLL_UP
&&
!
currentCueBuilder
.
isEmpty
())
{
currentCueBuilder
=
new
CueBuilder
(
captionMode
,
captionRowCount
);
cueBuilders
.
add
(
currentCueBuilder
);
}
...
...
@@ -755,6 +755,11 @@ public final class Cea608Decoder extends CeaDecoder {
TYPE_UNSET
,
0.8f
);
}
@Override
public
String
toString
()
{
return
captionStringBuilder
.
toString
();
}
private
static
class
CueStyle
{
public
final
CharacterStyle
style
;
...
...
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