Skip to content

Commit ebd5e1a

Browse files
litetexStypox
authored andcommitted
Remove unused method
1 parent 70841db commit ebd5e1a

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

app/src/main/java/org/schabi/newpipe/player/helper/PlayerHelper.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -117,18 +117,6 @@ public static String formatPitch(final double pitch) {
117117
return PITCH_FORMATTER.format(pitch);
118118
}
119119

120-
@NonNull
121-
public static String subtitleMimeTypesOf(@NonNull final MediaFormat format) {
122-
switch (format) {
123-
case VTT:
124-
return MimeTypes.TEXT_VTT;
125-
case TTML:
126-
return MimeTypes.APPLICATION_TTML;
127-
default:
128-
throw new IllegalArgumentException("Unrecognized mime type: " + format.name());
129-
}
130-
}
131-
132120
@NonNull
133121
public static String captionLanguageOf(@NonNull final Context context,
134122
@NonNull final SubtitlesStream subtitles) {

0 commit comments

Comments
 (0)