changeset 18751:6dd7e4c77e3d

try to reduce the distance between consecutive frames with pts to no more than 0.4 seconds (required by dvds)
author nicodvb
date Sun, 18 Jun 2006 16:40:29 +0000
parents 5a8e868772f3
children b1b3d79011b9
files libmpdemux/muxer_mpeg.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/muxer_mpeg.c	Sun Jun 18 14:51:26 2006 +0000
+++ b/libmpdemux/muxer_mpeg.c	Sun Jun 18 16:40:29 2006 +0000
@@ -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)