[vlc-commits] Remove useless case
Rémi Denis-Courmont
git at videolan.org
Sat Mar 3 21:49:11 CET 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Mar 3 22:38:25 2012 +0200| [5f9d5c69d6a07be03f9d013f3454f10bb8f6af6f] | committer: Rémi Denis-Courmont
Remove useless case
i_physical_channels only uses PHYSMASK bits anyway.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5f9d5c69d6a07be03f9d013f3454f10bb8f6af6f
---
src/input/es_out.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/src/input/es_out.c b/src/input/es_out.c
index 89bff72..0e1b991 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -2931,12 +2931,9 @@ static void EsOutUpdateInfo( es_out_t *out, es_out_id_t *es, const es_format_t *
case AUDIO_ES:
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",
_( 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 )
{
More information about the vlc-commits
mailing list