[MPlayer-cvslog] r19214 - trunk/mplayer.c

uau subversion at mplayerhq.hu
Fri Jul 28 15:59:52 CEST 2006


Author: uau
Date: Fri Jul 28 15:59:50 2006
New Revision: 19214

Modified:
   trunk/mplayer.c

Log:
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.


Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	(original)
+++ trunk/mplayer.c	Fri Jul 28 15:59:50 2006
@@ -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);



More information about the MPlayer-cvslog mailing list