mirror of
https://github.com/mpv-player/mpv
synced 2025-01-05 03:06:28 +01:00
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. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19214 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
615166ab61
commit
f39495a91b
@ -1300,9 +1300,7 @@ static void update_osd_msg(void) {
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user