vlc | branch: master | Andrey Utkin <[email protected]> | Thu Dec 5 22:36:56 2013 +0200| [2c4189d9596f32acde3c2dfaf12bae1e3b743f2a] | committer: Jean-Baptiste Kempf
Enable GSM RTP packetization Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2c4189d9596f32acde3c2dfaf12bae1e3b743f2a --- modules/stream_out/rtpfmt.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/stream_out/rtpfmt.c b/modules/stream_out/rtpfmt.c index b680307..aa4bcb1 100644 --- a/modules/stream_out/rtpfmt.c +++ b/modules/stream_out/rtpfmt.c @@ -496,6 +496,11 @@ int rtp_get_fmt( vlc_object_t *obj, es_format_t *p_fmt, const char *mux, rtp_fmt->clock_rate = 1000; rtp_fmt->pf_packetize = rtp_packetize_t140; break; + case VLC_CODEC_GSM: + rtp_fmt->payload_type = 3; + rtp_fmt->ptname = "GSM"; + rtp_fmt->pf_packetize = rtp_packetize_split; + break; default: msg_Err( obj, "cannot add this stream (unsupported " _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
