Commit 45dbc540 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

live: set sampe size for G.711

parent d85b3a71
...@@ -857,10 +857,12 @@ static int SessionsSetup( demux_t *p_demux ) ...@@ -857,10 +857,12 @@ static int SessionsSetup( demux_t *p_demux )
else if( !strcmp( sub->codecName(), "PCMU" ) ) else if( !strcmp( sub->codecName(), "PCMU" ) )
{ {
tk->fmt.i_codec = VLC_CODEC_MULAW; tk->fmt.i_codec = VLC_CODEC_MULAW;
tk->fmt.audio.i_bitspersample = 8;
} }
else if( !strcmp( sub->codecName(), "PCMA" ) ) else if( !strcmp( sub->codecName(), "PCMA" ) )
{ {
tk->fmt.i_codec = VLC_CODEC_ALAW; tk->fmt.i_codec = VLC_CODEC_ALAW;
tk->fmt.audio.i_bitspersample = 8;
} }
else if( !strncmp( sub->codecName(), "G726", 4 ) ) else if( !strncmp( sub->codecName(), "G726", 4 ) )
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment