mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-29 07:06:59 +08:00
Fix this stupid math mistake in calcultating audio buffer duration
for audio only git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4748 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
@@ -1583,7 +1583,7 @@ if(!sh_video) {
|
||||
,(sh_audio->timer>0.5)?100.0*audio_time_usage/(double)sh_audio->timer:0
|
||||
,cache_fill_status
|
||||
);
|
||||
usec_sleep(sh_audio->a_buffer_len/sh_audio->o_bps/1000);
|
||||
usec_sleep(sh_audio->a_buffer_len/(float)sh_audio->o_bps*1000000);
|
||||
goto read_input;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user