forked from FFmpeg/FFmpeg
mpeg1video m bit fix by (Luca Abeni: lucabe72, email it)
Originally committed as revision 4470 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
003640635a
commit
760fb54f7c
1 changed files with 1 additions and 1 deletions
|
@ -738,7 +738,7 @@ static void rtp_send_mpegvideo(AVFormatContext *s1,
|
||||||
/* 90 KHz time stamp */
|
/* 90 KHz time stamp */
|
||||||
s->timestamp = s->base_timestamp +
|
s->timestamp = s->base_timestamp +
|
||||||
av_rescale((int64_t)s->cur_timestamp * st->codec->time_base.num, 90000, st->codec->time_base.den); //FIXME pass timestamps
|
av_rescale((int64_t)s->cur_timestamp * st->codec->time_base.num, 90000, st->codec->time_base.den); //FIXME pass timestamps
|
||||||
rtp_send_data(s1, s->buf, q - s->buf, 0);
|
rtp_send_data(s1, s->buf, q - s->buf, (len == size));
|
||||||
|
|
||||||
buf1 += len;
|
buf1 += len;
|
||||||
size -= len;
|
size -= len;
|
||||||
|
|
Loading…
Add table
Reference in a new issue