1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-01 20:00:37 +00:00

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
This commit is contained in:
nicodvb 2006-06-18 16:40:29 +00:00
parent 22eba36135
commit 01526d08f8

View File

@ -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)