From 043159f3bbaf261971cd09fc52d8f675c5464bc9 Mon Sep 17 00:00:00 2001 From: diego Date: Sun, 1 Feb 2009 16:02:19 +0000 Subject: Do not print a warning if current pts is equal to previous pts. patch by Dennis Vshivkov, jaimor orcon net nz git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28445 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mplayer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mplayer.c') diff --git a/mplayer.c b/mplayer.c index a6c57c0c40..998e2226e1 100644 --- a/mplayer.c +++ b/mplayer.c @@ -2307,9 +2307,9 @@ static double update_video(int *blit_frame) } 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; -- cgit v1.2.3