Commit d06b01c2 by ojw28 Committed by GitHub

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

WebvttExtractor: make public to allow create custom HlsExtractorFactory outside of library
parents 4d931b9c 8f624861
......@@ -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+)");
......
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