1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-26 09:02:38 +00:00

Fix osd progress bar.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5837 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
albeu 2002-04-26 12:52:06 +00:00
parent 51f5418bd8
commit 020a695eb2

View File

@ -2684,8 +2684,11 @@ if(rel_seek_secs || abs_seek_pos){
/* FIXME there should be real seeking for vobsub */
if (vo_vobsub)
vobsub_reset(vo_vobsub);
if(sh_video && d_video->packs == 0)
ds_fill_buffer(d_video);
if(sh_audio){
if(d_audio->packs == 0)
ds_fill_buffer(d_audio);
if(verbose){
float a_pts=d_audio->pts;
a_pts+=(ds_tell_pts(d_audio)-sh_audio->a_in_buffer_len)/(float)sh_audio->i_bps;