[vlc-commits] commit: live: set sampe size for G.711 ( =?UTF-8?Q?R=C3=A9mi=20Denis=2DCourmont=20?=)

git at videolan.org git at videolan.org
Thu Jan 6 17:53:38 CET 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jan  6 18:52:34 2011 +0200| [45dbc54030303c6b53fa968af717dcd8d7677f9a] | committer: Rémi Denis-Courmont 

live: set sampe size for G.711

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=45dbc54030303c6b53fa968af717dcd8d7677f9a
---

 modules/demux/live555.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/demux/live555.cpp b/modules/demux/live555.cpp
index 81752e0..39bca0b 100644
--- a/modules/demux/live555.cpp
+++ b/modules/demux/live555.cpp
@@ -857,10 +857,12 @@ static int SessionsSetup( demux_t *p_demux )
                 else if( !strcmp( sub->codecName(), "PCMU" ) )
                 {
                     tk->fmt.i_codec = VLC_CODEC_MULAW;
+                    tk->fmt.audio.i_bitspersample = 8;
                 }
                 else if( !strcmp( sub->codecName(), "PCMA" ) )
                 {
                     tk->fmt.i_codec = VLC_CODEC_ALAW;
+                    tk->fmt.audio.i_bitspersample = 8;
                 }
                 else if( !strncmp( sub->codecName(), "G726", 4 ) )
                 {



More information about the vlc-commits mailing list