[Mplayer-cvslog] CVS: main mplayer.c,1.482,1.483

Alban Bedel CVS albeu at mplayerhq.hu
Fri Apr 26 14:52:18 CEST 2002


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv23748

Modified Files:
	mplayer.c 
Log Message:
Fix osd progress bar.


Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.482
retrieving revision 1.483
diff -u -r1.482 -r1.483
--- mplayer.c	25 Apr 2002 13:27:15 -0000	1.482
+++ mplayer.c	26 Apr 2002 12:52:06 -0000	1.483
@@ -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;




More information about the MPlayer-cvslog mailing list