Display "Unknown quality" if quality is unknown and not MediaFormat name

This commit is contained in:
TobiGr 2023-07-19 23:36:38 +02:00
parent e51067177e
commit ba84e7eead
1 changed files with 0 additions and 2 deletions

View File

@ -154,8 +154,6 @@ public class StreamItemAdapter<T extends Stream, U extends Stream> extends BaseA
final AudioStream audioStream = ((AudioStream) stream);
if (audioStream.getAverageBitrate() > 0) {
qualityString = audioStream.getAverageBitrate() + "kbps";
} else if (mediaFormat != null) {
qualityString = mediaFormat.getName();
} else {
qualityString = context.getString(R.string.unknown_quality);
}