diff options
author | joey <joey@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-08-22 19:52:50 +0000 |
---|---|---|
committer | joey <joey@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-08-22 19:52:50 +0000 |
commit | 178974d75b9ee7c0a3c88ae9251478423af053ec (patch) | |
tree | 7934e9487aff8c67808e9952f8174cc26fc9c216 /mplayer.c | |
parent | 12472027f06c862b444cb770054d4bf211ba1817 (diff) | |
download | mpv-178974d75b9ee7c0a3c88ae9251478423af053ec.tar.bz2 mpv-178974d75b9ee7c0a3c88ae9251478423af053ec.tar.xz |
fix for audio position inaccuracy
also accounts for -speed option
patch by Mikulas Patocka
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13095 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2039,7 +2039,7 @@ if(!sh_video) { // // convert time to HH:MM:SS.F format // - long tenths = 10 * sh_audio->delay-audio_out->get_delay(); + long tenths = 10 * (sh_audio->delay-audio_out->get_delay()*playback_speed); int hh = (tenths / 36000) % 100; int mm = (tenths / 600) % 60; int ss = (tenths / 10) % 60; |