changeset 5836:dcb0a2bf3345

Fix osd progress bar.
author albeu
date Fri, 26 Apr 2002 12:52:06 +0000
parents 104fce2b92b6
children 7e082f42497a
files mplayer.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Thu Apr 25 21:52:47 2002 +0000
+++ b/mplayer.c	Fri Apr 26 12:52:06 2002 +0000
@@ -2684,8 +2684,11 @@
       /* 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;