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

RTP output: add audio/L24 (untested)

(manually backported from 32bc486f26a83ef383aabb0f80caf3e1334c7d5c)
parent 079a42db
...@@ -1122,6 +1122,10 @@ static sout_stream_id_t *Add( sout_stream_t *p_stream, es_format_t *p_fmt ) ...@@ -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; id->pf_packetize = rtp_packetize_split;
rtp_set_ptime (id, 20, 1); rtp_set_ptime (id, 20, 1);
break; break;
case VLC_CODEC_S24B:
id->psz_enc = "L24";
id->pf_packetize = rtp_packetize_split;
break;
case VLC_CODEC_S16B: case VLC_CODEC_S16B:
case VLC_CODEC_S16L: case VLC_CODEC_S16L:
if( p_fmt->audio.i_channels == 1 && p_fmt->audio.i_rate == 44100 ) if( p_fmt->audio.i_channels == 1 && p_fmt->audio.i_rate == 44100 )
......
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