[FFmpeg-soc] [soc]: r2385 - dvbmuxer/mpegtsenc.c
bcoudurier
subversion at mplayerhq.hu
Wed Jun 4 19:52:45 CEST 2008
Author: bcoudurier
Date: Wed Jun 4 19:52:44 2008
New Revision: 2385
Log:
10l this byte is present if pcr has been written
Modified:
dvbmuxer/mpegtsenc.c
Modified: dvbmuxer/mpegtsenc.c
==============================================================================
--- dvbmuxer/mpegtsenc.c (original)
+++ dvbmuxer/mpegtsenc.c Wed Jun 4 19:52:44 2008
@@ -580,7 +580,7 @@ static void mpegts_write_pes(AVFormatCon
payload += len;
payload_size -= len;
put_buffer(s->pb, buf, TS_PACKET_SIZE);
- ts->cur_pcr += (TS_PACKET_SIZE+1)*8*90000LL / ts->mux_rate;
+ ts->cur_pcr += (TS_PACKET_SIZE+write_pcr)*8*90000LL / ts->mux_rate;
}
put_flush_packet(s->pb);
}
More information about the FFmpeg-soc
mailing list