[vlc-commits] RTP output: add audio/L24 (untested)

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


vlc/vlc-1.1 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jan 22 16:14:39 2011 +0200| [efeb08f4bfccd917e4b6aec3c23d7bd6ebe0a892] | committer: Rémi Denis-Courmont

RTP output: add audio/L24 (untested)

(manually backported from 32bc486f26a83ef383aabb0f80caf3e1334c7d5c)

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

 modules/stream_out/rtp.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/modules/stream_out/rtp.c b/modules/stream_out/rtp.c
index 7fe37d5..5394a61 100644
--- a/modules/stream_out/rtp.c
+++ b/modules/stream_out/rtp.c
@@ -1122,6 +1122,10 @@ static sout_stream_id_t *Add( sout_stream_t *p_stream, es_format_t *p_fmt )
             id->pf_packetize = rtp_packetize_split;
             rtp_set_ptime (id, 20, 1);
             break;
+        case VLC_CODEC_S24B:
+            id->psz_enc = "L24";
+            id->pf_packetize = rtp_packetize_split;
+            break;
         case VLC_CODEC_S16B:
         case VLC_CODEC_S16L:
             if( p_fmt->audio.i_channels == 1 && p_fmt->audio.i_rate == 44100 )



More information about the vlc-commits mailing list