[FFmpeg-soc] [soc]: r1269 - dvbmuxer/mpegtsenc.c
realsun
subversion at mplayerhq.hu
Fri Aug 31 15:45:44 CEST 2007
Author: realsun
Date: Fri Aug 31 15:45:43 2007
New Revision: 1269
Log:
preload is already added in ff_pes_write_packet, remove it here
Modified:
dvbmuxer/mpegtsenc.c
Modified: dvbmuxer/mpegtsenc.c
==============================================================================
--- dvbmuxer/mpegtsenc.c (original)
+++ dvbmuxer/mpegtsenc.c Fri Aug 31 15:45:43 2007
@@ -793,9 +793,6 @@ static int mpegts_write_packet(AVFormatC
PESStream *pes_stream = &stream->pes_stream;
int64_t pts;
- /* add a preload value to avoid negative dts*/
- pkt->pts += 10000;
- pkt->dts += 10000;
total_size += size;
ff_pes_write_packet(ctx, pkt);
pts= pes_stream->predecode_packet->pts;
More information about the FFmpeg-soc
mailing list