[vlc-commits] rtp: fix MPEG-TS over RTP (fixes #15749)

Rémi Denis-Courmont git at videolan.org
Wed Oct 28 21:09:00 CET 2015


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Oct 28 22:08:01 2015 +0200| [b550d43972587753833ebd84d91cfbd3ecf7e1d0] | committer: Rémi Denis-Courmont

rtp: fix MPEG-TS over RTP (fixes #15749)

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

 modules/stream_out/rtp.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/stream_out/rtp.c b/modules/stream_out/rtp.c
index b3a8726..3aa36a9 100644
--- a/modules/stream_out/rtp.c
+++ b/modules/stream_out/rtp.c
@@ -1747,6 +1747,7 @@ static ssize_t AccessOutGrabberWriteBuffer( sout_stream_t *p_stream,
             /* allocate a new packet */
             p_sys->packet = block_Alloc( id->i_mtu );
             rtp_packetize_common( id, p_sys->packet, 1, i_dts );
+            p_sys->packet->i_buffer = 12;
             p_sys->packet->i_dts = i_dts;
             p_sys->packet->i_length = p_buffer->i_length / i_packet;
             i_dts += p_sys->packet->i_length;



More information about the vlc-commits mailing list