diff options
author | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-06-18 16:40:29 +0000 |
---|---|---|
committer | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-06-18 16:40:29 +0000 |
commit | 01526d08f8e44a976522201ec4545973ea0f82e4 (patch) | |
tree | 32756f484b6d57582a77725b1f3fafe16ca45d86 /libmpdemux | |
parent | 22eba361355b55922926df00b15d4de6a54b2f34 (diff) |
try to reduce the distance between consecutive frames with pts to no more than 0.4 seconds (required by dvds)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18754 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r-- | libmpdemux/muxer_mpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/muxer_mpeg.c b/libmpdemux/muxer_mpeg.c index 61ba097f87..a011b985ce 100644 --- a/libmpdemux/muxer_mpeg.c +++ b/libmpdemux/muxer_mpeg.c @@ -990,7 +990,7 @@ static int find_packet_timestamps(muxer_priv_t *priv, muxer_stream_t *s, unsigne 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) |