From 6f759b4d40464d13cf71b2821c70798f33d32519 Mon Sep 17 00:00:00 2001 From: nicodvb Date: Mon, 6 Feb 2006 20:59:19 +0000 Subject: [PATCH] fixed wrong delta_frame calculation that would affect soft-telecine git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17540 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/muxer_mpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmpdemux/muxer_mpeg.c b/libmpdemux/muxer_mpeg.c index ce9d89475e..e481ca229f 100644 --- a/libmpdemux/muxer_mpeg.c +++ b/libmpdemux/muxer_mpeg.c @@ -1934,7 +1934,7 @@ static size_t parse_mpeg12_video(muxer_stream_t *s, muxer_priv_t *priv, muxer_he d1 = temp_ref - spriv->last_tr; if(gop_reset) { - frames_diff = spriv->max_tr + temp_ref - spriv->last_tr; + frames_diff = spriv->max_tr + 1 + temp_ref - spriv->last_tr; } else {