[FFmpeg-soc] [soc]: r2378 - dvbmuxer/mpegtsenc.c
bcoudurier
subversion at mplayerhq.hu
Wed Jun 4 05:08:12 CEST 2008
Author: bcoudurier
Date: Wed Jun 4 05:08:11 2008
New Revision: 2378
Log:
write pcr at the beginning
Modified:
dvbmuxer/mpegtsenc.c
Modified: dvbmuxer/mpegtsenc.c
==============================================================================
--- dvbmuxer/mpegtsenc.c (original)
+++ dvbmuxer/mpegtsenc.c Wed Jun 4 05:08:11 2008
@@ -516,7 +516,7 @@ static void mpegts_write_pes(AVFormatCon
while (payload_size > 0) {
retransmit_si_info(s);
- write_pcr = 0;
+ write_pcr = !ts->cur_pcr;
if (ts_st->pid == ts_st->service->pcr_pid) {
pcr = ts->cur_pcr + TS_PACKET_SIZE*90000LL / ts->mux_rate;
if (pcr - ts->last_pcr > MAX_DELTA_PCR)
More information about the FFmpeg-soc
mailing list