[vlc-commits] commit: live: add audio/L24 (=?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:57 2011 +0200| [4089fc27c4dad3b25f64eeb9773c9c8b5d982980] | committer: Rémi Denis-Courmont 

live: add audio/L24

This requires a bleeding edge liblive555 - not tested.

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

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

diff --git a/modules/demux/live555.cpp b/modules/demux/live555.cpp
index 39bca0b..8bf620c 100644
--- a/modules/demux/live555.cpp
+++ b/modules/demux/live555.cpp
@@ -849,6 +849,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(), "L24" ) )
+                {
+                    tk->fmt.i_codec = VLC_CODEC_S24B;
+                    tk->fmt.audio.i_bitspersample = 24;
+                }
                 else if( !strcmp( sub->codecName(), "L8" ) )
                 {
                     tk->fmt.i_codec = VLC_CODEC_U8;



More information about the vlc-commits mailing list