2
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2025-08-21 17:47:50 +00:00

Remove unused method

This commit is contained in:
litetex 2025-07-26 16:01:25 +02:00 committed by Stypox
parent 70841db92f
commit ebd5e1a318
No known key found for this signature in database
GPG Key ID: 4BDF1B40A49FDD23

View File

@ -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) {