changeset 19209:bda941219736

Remove code that prevented the OSD current time from going back by one second from the previously shown value. If this was needed for something there should be a better way to do it.
author uau
date Fri, 28 Jul 2006 13:59:50 +0000
parents 99d6ca895c46
children bef4df2fa6c6
files mplayer.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Fri Jul 28 13:50:08 2006 +0000
+++ b/mplayer.c	Fri Jul 28 13:59:50 2006 +0000
@@ -1300,9 +1300,7 @@
             int len = demuxer_get_time_length(demuxer);
             int percentage = -1;
             char percentage_text[10];
-            static int last_pts = -303;
             int pts = sh_video->pts;
-            if(pts==last_pts-1) ++pts; else last_pts=pts;
             
             if (osd_show_percentage)
                 percentage = demuxer_get_percent_pos(demuxer);