mirror of
https://github.com/TeamNewPipe/NewPipe.git
synced 2025-10-03 01:39:38 +02:00
Remove unused method
This commit is contained in:
parent
70841db92f
commit
ebd5e1a318
1 changed files with 0 additions and 12 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue