[MPlayer-cvslog] r18754 - trunk/libmpdemux/muxer_mpeg.c

nicodvb subversion at mplayerhq.hu
Sun Jun 18 18:40:30 CEST 2006


Author: nicodvb
Date: Sun Jun 18 18:40:29 2006
New Revision: 18754

Modified:
   trunk/libmpdemux/muxer_mpeg.c

Log:
try to reduce the distance between consecutive frames with pts to no more than 0.4 seconds (required by dvds)

Modified: trunk/libmpdemux/muxer_mpeg.c
==============================================================================
--- trunk/libmpdemux/muxer_mpeg.c	(original)
+++ trunk/libmpdemux/muxer_mpeg.c	Sun Jun 18 18:40:29 2006
@@ -990,7 +990,7 @@
 
 		if(s->type != MUXER_TYPE_VIDEO)
 			ret = 1;
-		else if((spriv->framebuf[i].type == I_FRAME || priv->ts_allframes || dpts >= 45000*300))	//0.5 seconds
+		else if((spriv->framebuf[i].type == I_FRAME || priv->ts_allframes || dpts >= 36000*300))	//0.4 seconds
 			ret = 1;
 
 		if(ret)



More information about the MPlayer-cvslog mailing list