Merge pull request #4602 from gpinigin/webvtt-extractor-public

WebvttExtractor: make public to allow create custom HlsExtractorFactory outside of library
This commit is contained in:
ojw28 2018-08-16 16:45:36 +01:00 committed by GitHub
commit d06b01c220
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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+)");