[MPlayer-cvslog] CVS: main/libmpdemux muxer_mpeg.c,1.33,1.34

Nico Sabbi CVS syncmail at mplayerhq.hu
Mon Feb 6 21:59:21 CET 2006


CVS change done by Nico Sabbi CVS

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv1065

Modified Files:
	muxer_mpeg.c 
Log Message:
fixed wrong delta_frame calculation that would affect soft-telecine

Index: muxer_mpeg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/muxer_mpeg.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- muxer_mpeg.c	30 Jan 2006 21:18:53 -0000	1.33
+++ muxer_mpeg.c	6 Feb 2006 20:59:19 -0000	1.34
@@ -1934,7 +1934,7 @@
 			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
 			{




More information about the MPlayer-cvslog mailing list