]> git.sesse.net Git - vlc/commitdiff
Fix display of audio channel in various mono modes
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 12 Jul 2009 21:54:39 +0000 (23:54 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 12 Jul 2009 21:56:13 +0000 (23:56 +0200)
This happened in many WMA2 mono samples where the codec information pannel said "ERROR"

src/audio_output/common.c

index fde38b3ab78a159d08996192c18102ea87767fa8..6591537f71811c2f4fcee57cea434b01a262aa37 100644 (file)
@@ -197,6 +197,8 @@ const char * aout_FormatPrintChannels( const audio_sample_format_t * p_format )
 {
     switch ( p_format->i_physical_channels & AOUT_CHAN_PHYSMASK )
     {
+    case AOUT_CHAN_LEFT:
+    case AOUT_CHAN_RIGHT:
     case AOUT_CHAN_CENTER:
         if ( (p_format->i_original_channels & AOUT_CHAN_CENTER)
               || (p_format->i_original_channels