diff options
author | uau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-04-25 22:34:40 +0000 |
---|---|---|
committer | uau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-04-25 22:34:40 +0000 |
commit | 729d2a38277b4a340de22e2cd2e1b930abf4b5d0 (patch) | |
tree | 0c92c97cc13ccd74676b8a88c54ebf7928857e1f /mplayer.c | |
parent | bee52bbd1045c9f74ee6f8ff57c53cfb433f0675 (diff) | |
download | mpv-729d2a38277b4a340de22e2cd2e1b930abf4b5d0.tar.bz2 mpv-729d2a38277b4a340de22e2cd2e1b930abf4b5d0.tar.xz |
The code setting the OSD seek direction indicator for absolute seeks was
nonsense. Fix the to-timestamp case. I don't care enough to fix the
to-percentage case so just add a comment noting it's broken.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18289 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4183,13 +4183,13 @@ if (stream->type==STREAMTYPE_DVDNAV && dvd_nav_still) if(abs==2) { /* Absolute seek to a specific timestamp in seconds */ abs_seek_pos = 1; if(sh_video) - osd_function= (v > sh_video->timer) ? OSD_FFW : OSD_REW; + osd_function= (v > sh_video->pts) ? OSD_FFW : OSD_REW; rel_seek_secs = v; } else if(abs) { /* Absolute seek by percentage */ abs_seek_pos = 3; if(sh_video) - osd_function= (v > sh_video->timer) ? OSD_FFW : OSD_REW; + osd_function= OSD_FFW; // Direction isn't set correctly rel_seek_secs = v/100.0; } else { |