diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-02-01 16:02:19 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-02-01 16:02:19 +0000 |
commit | 043159f3bbaf261971cd09fc52d8f675c5464bc9 (patch) | |
tree | 991542f72edf9344371e8b77450c8d7d2091521e | |
parent | 71e641a4c3ca0291c8a6ce37357687df55c42fdb (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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |