[MPlayer-cvslog] r28445 - trunk/mplayer.c

diego subversion at mplayerhq.hu
Sun Feb 1 17:02:19 CET 2009


Author: diego
Date: Sun Feb  1 17:02:19 2009
New Revision: 28445

Log:
Do not print a warning if current pts is equal to previous pts.
patch by Dennis Vshivkov, jaimor orcon net nz

Modified:
   trunk/mplayer.c

Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	Sun Feb  1 16:51:48 2009	(r28444)
+++ trunk/mplayer.c	Sun Feb  1 17:02:19 2009	(r28445)
@@ -2307,9 +2307,9 @@ static double update_video(int *blit_fra
 	}
 	if (sh_video->last_pts == MP_NOPTS_VALUE)
 	    sh_video->last_pts= sh_video->pts;
-	else if (sh_video->last_pts >= sh_video->pts) {
+	else if (sh_video->last_pts > sh_video->pts) {
 	    sh_video->last_pts = sh_video->pts;
-	    mp_msg(MSGT_CPLAYER, MSGL_INFO, "pts value <= previous\n");
+	    mp_msg(MSGT_CPLAYER, MSGL_INFO, "pts value < previous\n");
 	}
 	frame_time = sh_video->pts - sh_video->last_pts;
 	sh_video->last_pts = sh_video->pts;



More information about the MPlayer-cvslog mailing list