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

nicodvb subversion at mplayerhq.hu
Tue Nov 7 23:57:42 CET 2006


Author: nicodvb
Date: Tue Nov  7 23:57:42 2006
New Revision: 20766

Modified:
   trunk/mplayer.c

Log:
now the OSD shows the value returned by demuxer_get_current_time() rather than sh_video->pts

Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	(original)
+++ trunk/mplayer.c	Tue Nov  7 23:57:42 2006
@@ -1477,7 +1477,7 @@
             int len = demuxer_get_time_length(demuxer);
             int percentage = -1;
             char percentage_text[10];
-            int pts = sh_video->pts;
+            int pts = demuxer_get_current_time(demuxer);
             
             if (osd_show_percentage)
                 percentage = demuxer_get_percent_pos(demuxer);



More information about the MPlayer-cvslog mailing list