2 typo fixup
* add missing namespace of StandardCharsets * use an unused constructor argument
This commit is contained in:
parent
ed18466c3b
commit
a2d3e2c7e0
|
@ -12,7 +12,7 @@ import org.schabi.newpipe.streams.io.SharpStream;
|
||||||
import java.io.ByteArrayInputStream;
|
import java.io.ByteArrayInputStream;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.nio.charset.Charset;
|
import java.nio.charset.Charset;
|
||||||
import java.text.ParseException;
|
import java.nio.charset.StandardCharsets;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author kapodamy
|
* @author kapodamy
|
||||||
|
@ -28,7 +28,7 @@ public class SrtFromTtmlWriter {
|
||||||
|
|
||||||
public SrtFromTtmlWriter(SharpStream out, boolean ignoreEmptyFrames) {
|
public SrtFromTtmlWriter(SharpStream out, boolean ignoreEmptyFrames) {
|
||||||
this.out = out;
|
this.out = out;
|
||||||
this.ignoreEmptyFrames = true;
|
this.ignoreEmptyFrames = ignoreEmptyFrames;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static String getTimestamp(Element frame, String attr) {
|
private static String getTimestamp(Element frame, String attr) {
|
||||||
|
|
Loading…
Reference in New Issue