Merge commit '01f251c44d83eedc819625d2caac9ff9697a085d'
* commit '01f251c44d83eedc819625d2caac9ff9697a085d': rtpenc: Set the timestamp properly when sending mpegts data, too Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
c0586b257d
@ -456,6 +456,7 @@ static void rtp_send_mpegts_raw(AVFormatContext *s1,
|
|||||||
RTPMuxContext *s = s1->priv_data;
|
RTPMuxContext *s = s1->priv_data;
|
||||||
int len, out_len;
|
int len, out_len;
|
||||||
|
|
||||||
|
s->timestamp = s->cur_timestamp;
|
||||||
while (size >= TS_PACKET_SIZE) {
|
while (size >= TS_PACKET_SIZE) {
|
||||||
len = s->max_payload_size - (s->buf_ptr - s->buf);
|
len = s->max_payload_size - (s->buf_ptr - s->buf);
|
||||||
if (len > size)
|
if (len > size)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user