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

Signed-off-by: Martin Storsjö <martin@martin.st>
pull/101/head
Martin Storsjö 14 years ago
parent f2c614e8c4
commit 01f251c44d
  1. 1
      libavformat/rtpenc.c

@ -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)

Loading…
Cancel
Save