[vlc-devel] commit: Fix display of audio channel in various mono modes ( Jean-Baptiste Kempf )
git version control
git at videolan.org
Sun Jul 12 23:56:41 CEST 2009
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Jul 12 23:54:39 2009 +0200| [a1a45073aeb2f720f91a1e1c98c8d688c0dcaa1c] | committer: Jean-Baptiste Kempf
Fix display of audio channel in various mono modes
This happened in many WMA2 mono samples where the codec information pannel said "ERROR"
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a1a45073aeb2f720f91a1e1c98c8d688c0dcaa1c
---
src/audio_output/common.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/audio_output/common.c b/src/audio_output/common.c
index fde38b3..6591537 100644
--- a/src/audio_output/common.c
+++ b/src/audio_output/common.c
@@ -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
More information about the vlc-devel
mailing list