Commit 5f9d5c69 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove useless case

i_physical_channels only uses PHYSMASK bits anyway.
parent b5a03067
...@@ -2931,12 +2931,9 @@ static void EsOutUpdateInfo( es_out_t *out, es_out_id_t *es, const es_format_t * ...@@ -2931,12 +2931,9 @@ static void EsOutUpdateInfo( es_out_t *out, es_out_id_t *es, const es_format_t *
case AUDIO_ES: case AUDIO_ES:
info_category_AddInfo( p_cat, _("Type"), _("Audio") ); info_category_AddInfo( p_cat, _("Type"), _("Audio") );
if( fmt->audio.i_physical_channels & AOUT_CHAN_PHYSMASK ) if( fmt->audio.i_physical_channels )
info_category_AddInfo( p_cat, _("Channels"), "%s", info_category_AddInfo( p_cat, _("Channels"), "%s",
_( aout_FormatPrintChannels( &fmt->audio ) ) ); _( aout_FormatPrintChannels( &fmt->audio ) ) );
else if( fmt->audio.i_channels > 0 )
info_category_AddInfo( p_cat, _("Channels"), "%u",
fmt->audio.i_channels );
if( fmt->audio.i_rate > 0 ) if( fmt->audio.i_rate > 0 )
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment