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

realsun subversion at mplayerhq.hu
Tue Jul 31 17:29:39 CEST 2007


Author: realsun
Date: Tue Jul 31 17:29:38 2007
New Revision: 570

Log:
changed max_delay temporary

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	Tue Jul 31 17:29:38 2007
@@ -220,7 +220,9 @@ retry:
         if(space < packet_size && !ignore_constraints)
             continue;
 
-        if(next_pkt && next_pkt->dts - *scr > max_delay)
+        /* 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)
             continue;
 
         if(rel_space > best_score){



More information about the FFmpeg-soc mailing list