Mercurial > libavformat.hg
changeset 5803:405bb9032df6 libavformat
reindent
author | bcoudurier |
---|---|
date | Wed, 10 Mar 2010 09:19:14 +0000 |
parents | 2d82e25df58c |
children | 9f349253996d |
files | mpegtsenc.c |
diffstat | 1 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/mpegtsenc.c Wed Mar 10 07:44:51 2010 +0000 +++ b/mpegtsenc.c Wed Mar 10 09:19:14 2010 +0000 @@ -450,14 +450,14 @@ ts->mux_rate = s->mux_rate ? s->mux_rate : 1; if (ts->mux_rate > 1) { - service->pcr_packet_period = (ts->mux_rate * PCR_RETRANS_TIME) / - (TS_PACKET_SIZE * 8 * 1000); - ts->sdt_packet_period = (ts->mux_rate * SDT_RETRANS_TIME) / - (TS_PACKET_SIZE * 8 * 1000); - ts->pat_packet_period = (ts->mux_rate * PAT_RETRANS_TIME) / - (TS_PACKET_SIZE * 8 * 1000); + service->pcr_packet_period = (ts->mux_rate * PCR_RETRANS_TIME) / + (TS_PACKET_SIZE * 8 * 1000); + ts->sdt_packet_period = (ts->mux_rate * SDT_RETRANS_TIME) / + (TS_PACKET_SIZE * 8 * 1000); + ts->pat_packet_period = (ts->mux_rate * PAT_RETRANS_TIME) / + (TS_PACKET_SIZE * 8 * 1000); - ts->cur_pcr = av_rescale(s->max_delay, 90000, AV_TIME_BASE); + ts->cur_pcr = av_rescale(s->max_delay, 90000, AV_TIME_BASE); } else { /* Arbitrary values, PAT/PMT could be written on key frames */ ts->sdt_packet_period = 200;