WebvttExtractor: make public to allow create custom HlsExtractorFactory outside of library

This commit is contained in:
Gleb Pinigin 2018-07-31 19:45:30 +07:00
parent 3b61a400c5
commit 8f624861e1

View file

@ -43,7 +43,7 @@ import java.util.regex.Pattern;
* of the first cue header. Empty WebVTT files are not passed through, since it's not possible to
* derive a sample timestamp in this case.
*/
/* package */ final class WebvttExtractor implements Extractor {
public final class WebvttExtractor implements Extractor {
private static final Pattern LOCAL_TIMESTAMP = Pattern.compile("LOCAL:([^,]+)");
private static final Pattern MEDIA_TIMESTAMP = Pattern.compile("MPEGTS:(\\d+)");