aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-01 16:02:19 +0000
committerGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-01 16:02:19 +0000
commit043159f3bbaf261971cd09fc52d8f675c5464bc9 (patch)
tree991542f72edf9344371e8b77450c8d7d2091521e
parent71e641a4c3ca0291c8a6ce37357687df55c42fdb (diff)
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
-rw-r--r--mplayer.c4
1 files changed, 2 insertions, 2 deletions
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;