mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-08-21 17:47:50 +00:00
Remove unused method
This commit is contained in:
parent
70841db92f
commit
ebd5e1a318
@ -117,18 +117,6 @@ public final class PlayerHelper {
|
||||
return PITCH_FORMATTER.format(pitch);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static String subtitleMimeTypesOf(@NonNull final MediaFormat format) {
|
||||
switch (format) {
|
||||
case VTT:
|
||||
return MimeTypes.TEXT_VTT;
|
||||
case TTML:
|
||||
return MimeTypes.APPLICATION_TTML;
|
||||
default:
|
||||
throw new IllegalArgumentException("Unrecognized mime type: " + format.name());
|
||||
}
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static String captionLanguageOf(@NonNull final Context context,
|
||||
@NonNull final SubtitlesStream subtitles) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user