[vlc-commits] live555: add audio/DAT12 and audio/L20 RTP payload formats

Rémi Denis-Courmont git at videolan.org
Sat Jan 22 15:09:49 CET 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jan 22 15:59:44 2011 +0200| [15527aa0abbf24b171de1b8612ffb82bb88c5f11] | committer: Rémi Denis-Courmont

live555: add audio/DAT12 and audio/L20 RTP payload formats

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

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

diff --git a/modules/demux/live555.cpp b/modules/demux/live555.cpp
index 86be94c..a793301 100644
--- a/modules/demux/live555.cpp
+++ b/modules/demux/live555.cpp
@@ -852,6 +852,11 @@ static int SessionsSetup( demux_t *p_demux )
                     tk->fmt.i_codec = VLC_CODEC_S16B;
                     tk->fmt.audio.i_bitspersample = 16;
                 }
+                else if( !strcmp( sub->codecName(), "L20" ) )
+                {
+                    tk->fmt.i_codec = VLC_CODEC_S20B;
+                    tk->fmt.audio.i_bitspersample = 20;
+                }
                 else if( !strcmp( sub->codecName(), "L24" ) )
                 {
                     tk->fmt.i_codec = VLC_CODEC_S24B;
@@ -862,6 +867,11 @@ static int SessionsSetup( demux_t *p_demux )
                     tk->fmt.i_codec = VLC_CODEC_U8;
                     tk->fmt.audio.i_bitspersample = 8;
                 }
+                else if( !strcmp( sub->codecName(), "DAT12" ) )
+                {
+                    tk->fmt.i_codec = VLC_CODEC_DAT12;
+                    tk->fmt.audio.i_bitspersample = 12;
+                }
                 else if( !strcmp( sub->codecName(), "PCMU" ) )
                 {
                     tk->fmt.i_codec = VLC_CODEC_MULAW;



More information about the vlc-commits mailing list