Commit 21923ae1 by Oliver Woodman

m

parent f1605842
...@@ -157,6 +157,7 @@ import com.google.android.exoplayer2.util.Util; ...@@ -157,6 +157,7 @@ import com.google.android.exoplayer2.util.Util;
if (!applyEmbeddedStyles) { if (!applyEmbeddedStyles) {
// Strip out any embedded styling. // Strip out any embedded styling.
cueText = cueText.toString(); cueText = cueText.toString();
windowColor = style.windowColor;
} }
} else { } else {
cueBitmap = cue.bitmap; cueBitmap = cue.bitmap;
...@@ -190,7 +191,7 @@ import com.google.android.exoplayer2.util.Util; ...@@ -190,7 +191,7 @@ import com.google.android.exoplayer2.util.Util;
this.cueText = cueText; this.cueText = cueText;
this.cueTextAlignment = cue.textAlignment; this.cueTextAlignment = cue.textAlignment;
this.cueBitmap = cue.bitmap; this.cueBitmap = cueBitmap;
this.cueLine = cue.line; this.cueLine = cue.line;
this.cueLineType = cue.lineType; this.cueLineType = cue.lineType;
this.cueLineAnchor = cue.lineAnchor; this.cueLineAnchor = cue.lineAnchor;
...@@ -200,7 +201,7 @@ import com.google.android.exoplayer2.util.Util; ...@@ -200,7 +201,7 @@ import com.google.android.exoplayer2.util.Util;
this.applyEmbeddedStyles = applyEmbeddedStyles; this.applyEmbeddedStyles = applyEmbeddedStyles;
this.foregroundColor = style.foregroundColor; this.foregroundColor = style.foregroundColor;
this.backgroundColor = style.backgroundColor; this.backgroundColor = style.backgroundColor;
this.windowColor = style.windowColor; this.windowColor = windowColor;
this.edgeType = style.edgeType; this.edgeType = style.edgeType;
this.edgeColor = style.edgeColor; this.edgeColor = style.edgeColor;
this.textPaint.setTypeface(style.typeface); this.textPaint.setTypeface(style.typeface);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment