We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70841db commit ebd5e1aCopy full SHA for ebd5e1a
app/src/main/java/org/schabi/newpipe/player/helper/PlayerHelper.java
@@ -117,18 +117,6 @@ public static String formatPitch(final double pitch) {
117
return PITCH_FORMATTER.format(pitch);
118
}
119
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
-
132
@NonNull
133
public static String captionLanguageOf(@NonNull final Context context,
134
@NonNull final SubtitlesStream subtitles) {
0 commit comments