# HG changeset patch # User nicodvb # Date 1150648829 0 # Node ID 6dd7e4c77e3d15d15110a4ce3982cbe4f1ec7107 # Parent 5a8e868772f326d7c9c3dc2737e2c42a050a1ee3 try to reduce the distance between consecutive frames with pts to no more than 0.4 seconds (required by dvds) diff -r 5a8e868772f3 -r 6dd7e4c77e3d libmpdemux/muxer_mpeg.c --- 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)