[FFmpeg-soc] [soc]: r608 - dvbmuxer/muxer_dev/mpegtsenc.c

realsun subversion at mplayerhq.hu
Sun Aug 5 05:03:30 CEST 2007


Author: realsun
Date: Sun Aug  5 05:03:29 2007
New Revision: 608

Log:
changed the last_pcr calculation, using it's original value to remove packets

Modified:
   dvbmuxer/muxer_dev/mpegtsenc.c

Modified: dvbmuxer/muxer_dev/mpegtsenc.c
==============================================================================
--- dvbmuxer/muxer_dev/mpegtsenc.c	(original)
+++ dvbmuxer/muxer_dev/mpegtsenc.c	Sun Aug  5 05:03:29 2007
@@ -769,7 +769,6 @@ static int output_packet(AVFormatContext
     }
 
 
-    s->last_pcr += es_size*8*90000LL / (s->mux_rate); //FIXME rounding and first few bytes of each packet
     if(ff_pes_remove_decoded_packets(ctx, s->last_pcr) < 0)
         return -1;
 



More information about the FFmpeg-soc mailing list