[vlc-commits] sdi: no channels magic numbers
Rémi Denis-Courmont
git at videolan.org
Thu Mar 8 20:15:39 CET 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Mar 8 21:15:27 2012 +0200| [2b2e2df7d5c6d323f07d3d9fd612ed1c129e86d7] | committer: Rémi Denis-Courmont
sdi: no channels magic numbers
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2b2e2df7d5c6d323f07d3d9fd612ed1c129e86d7
---
modules/access/linsys/linsys_sdi.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/access/linsys/linsys_sdi.c b/modules/access/linsys/linsys_sdi.c
index 3b6f9c1..9f8388e 100644
--- a/modules/access/linsys/linsys_sdi.c
+++ b/modules/access/linsys/linsys_sdi.c
@@ -847,8 +847,8 @@ static int InitAudio( demux_t *p_demux, sdi_audio_t *p_audio )
es_format_Init( &fmt, AUDIO_ES, VLC_CODEC_S16L );
fmt.i_id = p_audio->i_id;
fmt.audio.i_channels = 2;
- fmt.audio.i_physical_channels = 6;
- fmt.audio.i_original_channels = 6;
+ fmt.audio.i_original_channels =
+ fmt.audio.i_physical_channels = AOUT_CHANS_STEREO;
fmt.audio.i_rate = p_audio->i_rate;
fmt.audio.i_bitspersample = 16;
fmt.audio.i_blockalign = fmt.audio.i_channels *
More information about the vlc-commits
mailing list