Commit 01f251c4 authored by Martin Storsjö's avatar Martin Storsjö

rtpenc: Set the timestamp properly when sending mpegts data, too

Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent f2c614e8
......@@ -452,6 +452,7 @@ static void rtp_send_mpegts_raw(AVFormatContext *s1,
RTPMuxContext *s = s1->priv_data;
int len, out_len;
s->timestamp = s->cur_timestamp;
while (size >= TS_PACKET_SIZE) {
len = s->max_payload_size - (s->buf_ptr - s->buf);
if (len > size)
......
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