[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:58:54 CEST 2009
vlc | branch: 1.0-bugfix | Jean-Baptiste Kempf <jb at videolan.org> | Sun Jul 12 23:54:39 2009 +0200| [effd9d1004fdcdc8fbb6cdcd8e29d77a5008027f] | 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"
(cherry picked from commit a1a45073aeb2f720f91a1e1c98c8d688c0dcaa1c)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=effd9d1004fdcdc8fbb6cdcd8e29d77a5008027f
---
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 806cb99..0b19748 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