[FFmpeg-soc] [soc]: r577 - dvbmuxer/muxer_dev/mpeg_pes_enc.c

realsun subversion at mplayerhq.hu
Wed Aug 1 05:43:57 CEST 2007


Author: realsun
Date: Wed Aug  1 05:43:57 2007
New Revision: 577

Log:
remove debug code and restore max_delay

Modified:
   dvbmuxer/muxer_dev/mpeg_pes_enc.c

Modified: dvbmuxer/muxer_dev/mpeg_pes_enc.c
==============================================================================
--- dvbmuxer/muxer_dev/mpeg_pes_enc.c	(original)
+++ dvbmuxer/muxer_dev/mpeg_pes_enc.c	Wed Aug  1 05:43:57 2007
@@ -220,9 +220,7 @@ retry:
         if(space < packet_size && !ignore_constraints)
             continue;
 
-        /* FIX set max_delay to 0 can temporary produce good stream */
-        //if(next_pkt && next_pkt->dts - *scr > max_delay)
-        if(next_pkt && next_pkt->dts - *scr > 0)
+        if(next_pkt && next_pkt->dts - *scr > max_delay)
             continue;
 
         if(rel_space > best_score){



More information about the FFmpeg-soc mailing list