mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Track info: Hide codec when it differs between tracks
Instead of showing '???', to make it consistent with other displayed info Change-Id: I5597bd2203f6e4e86d8e170a854dd6da700537f3
This commit is contained in:
parent
188f025f51
commit
a983e532fa
1 changed files with 2 additions and 2 deletions
|
@ -656,10 +656,10 @@ static const char * id3_get_or_speak_info(int selected_item, void* data,
|
|||
}
|
||||
break;
|
||||
case LANG_FORMAT:
|
||||
if (id3->codectype >= AFMT_NUM_CODECS)
|
||||
if (id3->codectype == AFMT_UNKNOWN && info->track_ct > 1)
|
||||
return NULL;
|
||||
|
||||
strmemccpy(buffer, audio_formats[id3->codectype].label, buffer_len);
|
||||
strmemccpy(buffer, get_codec_string(id3->codectype), buffer_len);
|
||||
|
||||
val=buffer;
|
||||
if(say_it)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue