[vlc-commits] live: add audio/L24
Rémi Denis-Courmont
git at videolan.org
Sat Jan 22 15:10:35 CET 2011
vlc/vlc-1.1 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jan 6 18:52:57 2011 +0200| [079a42db16af9ad3ff9b8c5b0c33e11b81f98e35] | committer: Rémi Denis-Courmont
live: add audio/L24
This requires a bleeding edge liblive555 - not tested.
(cherry picked from commit 4089fc27c4dad3b25f64eeb9773c9c8b5d982980)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=079a42db16af9ad3ff9b8c5b0c33e11b81f98e35
---
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 c83200c..c7798fe 100644
--- a/modules/demux/live555.cpp
+++ b/modules/demux/live555.cpp
@@ -813,6 +813,11 @@ static int SessionsSetup( demux_t *p_demux )
tk->fmt.i_codec = VLC_FOURCC( 't', 'w', 'o', 's' );
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_FOURCC( 'a', 'r', 'a', 'w' );
More information about the vlc-commits
mailing list