From 388f4fd38ba09c1afdaf924f440e4ad3a8a5dc6e Mon Sep 17 00:00:00 2001 From: kapodamy Date: Mon, 24 Sep 2018 16:05:07 -0300 Subject: [PATCH] Delete SubtitlesFormat.java merge into MediaFormat --- .../extractor/stream/SubtitlesFormat.java | 25 ------------------- 1 file changed, 25 deletions(-) delete mode 100644 extractor/src/main/java/org/schabi/newpipe/extractor/stream/SubtitlesFormat.java diff --git a/extractor/src/main/java/org/schabi/newpipe/extractor/stream/SubtitlesFormat.java b/extractor/src/main/java/org/schabi/newpipe/extractor/stream/SubtitlesFormat.java deleted file mode 100644 index 3a16f1059..000000000 --- a/extractor/src/main/java/org/schabi/newpipe/extractor/stream/SubtitlesFormat.java +++ /dev/null @@ -1,25 +0,0 @@ -package org.schabi.newpipe.extractor.stream; - -public enum SubtitlesFormat { - // YouTube subtitles formats - // TRANSCRIPT(3) is default YT format based on TTML, - // but unlike VTT or TTML, it is NOT W3 standard - // TRANSCRIPT subtitles are NOT supported by ExoPlayer, only VTT and TTML - VTT (0x0, "vtt"), - TTML (0x1, "ttml"), - TRANSCRIPT1 (0x2, "srv1"), - TRANSCRIPT2 (0x3, "srv2"), - TRANSCRIPT3 (0x4, "srv3"); - - private final int id; - private final String extension; - - SubtitlesFormat(int id, String extension) { - this.id = id; - this.extension = extension; - } - - public String getExtension() { - return extension; - } -}