[FFmpeg-soc] [soc]: r2316 - dvbmuxer/mpegtsenc.c

bcoudurier subversion at mplayerhq.hu
Mon Jun 2 09:49:30 CEST 2008


Author: bcoudurier
Date: Mon Jun  2 09:49:29 2008
New Revision: 2316

Log:
update cur_pcr after finding best stream to mux, packets may have been decoded

Modified:
   dvbmuxer/mpegtsenc.c

Modified: dvbmuxer/mpegtsenc.c
==============================================================================
--- dvbmuxer/mpegtsenc.c	(original)
+++ dvbmuxer/mpegtsenc.c	Mon Jun  2 09:49:29 2008
@@ -698,7 +698,7 @@ static int output_packet(AVFormatContext
     stream = st->priv_data;
 
     assert(av_fifo_size(&stream->fifo) > 0);
-
+    s->cur_pcr = pcr;
     timestamp_packet= stream->premux_packet;
     if(timestamp_packet->unwritten_size == timestamp_packet->size){
         trailer_size= 0;



More information about the FFmpeg-soc mailing list