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

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

parent 157f8929
......@@ -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;
......
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