Mercurial > mplayer.hg
changeset 28410:f02a92b6d0a4
Do not print a warning if current pts is equal to previous pts.
patch by Dennis Vshivkov, jaimor orcon net nz
author | diego |
---|---|
date | Sun, 01 Feb 2009 16:02:19 +0000 |
parents | 303467269af1 |
children | e705056e492e |
files | mplayer.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mplayer.c Sun Feb 01 15:51:48 2009 +0000 +++ b/mplayer.c Sun Feb 01 16:02:19 2009 +0000 @@ -2307,9 +2307,9 @@ } 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;