1
mirror of https://github.com/mpv-player/mpv synced 2024-10-18 10:25:02 +02:00

delay rff by 6, not 3 frames, so the rff will be in the middle of the 12 frames sequence

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17604 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nicodvb 2006-02-12 11:47:36 +00:00
parent df1ba8c7b3
commit e7275c7781

View File

@ -1861,7 +1861,9 @@ static int soft_telecine(muxer_headers_t *vpriv, uint8_t *fps_ptr, uint8_t *se_p
{
if(rest1)
{
vpriv->delay_rff = 4; //delay of 3 frames the setting, so we don't have 2 consecutive rff
//delay the setting by 6 frames, so we don't have 2 consecutive rff
//and the transition will be smoother (halfway in the 12-frames sequence)
vpriv->delay_rff = 7;
mp_msg(MSGT_MUXER, MSGL_V, "\r\nDELAYED: %d\r\n", rest2);
}
else