[FFmpeg-soc] [soc]: r1247 - dvbmuxer/mpegtsenc.c
realsun
subversion at mplayerhq.hu
Thu Aug 30 18:42:33 CEST 2007
Author: realsun
Date: Thu Aug 30 18:42:33 2007
New Revision: 1247
Log:
store PCR each time we update it
Modified:
dvbmuxer/mpegtsenc.c
Modified: dvbmuxer/mpegtsenc.c
==============================================================================
--- dvbmuxer/mpegtsenc.c (original)
+++ dvbmuxer/mpegtsenc.c Thu Aug 30 18:42:33 2007
@@ -611,6 +611,8 @@ static void mpegts_write_pes(AVFormatCon
payload_size -= len;
put_buffer(&s->pb, buf, TS_PACKET_SIZE);
}
+ if(pcr != -1)
+ ts->last_pcr = pcr;
put_flush_packet(&s->pb);
}
More information about the FFmpeg-soc
mailing list