From 020a695eb265ba9ab1397ace1cf6e4fcbae2f604 Mon Sep 17 00:00:00 2001 From: albeu Date: Fri, 26 Apr 2002 12:52:06 +0000 Subject: [PATCH] Fix osd progress bar. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5837 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mplayer.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mplayer.c b/mplayer.c index 2322f16134..25c3349b7d 100644 --- a/mplayer.c +++ b/mplayer.c @@ -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;