[Mplayer-cvslog] CVS: main mplayer.c,1.131,1.132

GEREOFFY arpi_esp at users.sourceforge.net
Fri Jun 1 22:13:51 CEST 2001


Update of /cvsroot/mplayer/main
In directory usw-pr-cvs1:/tmp/cvs-serv25546

Modified Files:
	mplayer.c 
Log Message:
-nobps seeking fixed

Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.131
retrieving revision 1.132
diff -C2 -r1.131 -r1.132
*** mplayer.c	2001/06/01 12:17:09	1.131
--- mplayer.c	2001/06/01 20:13:48	1.132
***************
*** 472,475 ****
--- 472,476 ----
  float force_fps=0;
  float audio_delay=0;
+ float initial_pts_delay=0;
  int vcd_track=0;
  #ifdef VCD_CACHE
***************
*** 1981,1984 ****
--- 1982,1986 ----
          float y=-(delay+audio_delay);
          printf("Initial PTS delay: %5.3f sec  (calculated: %5.3f)\n",x,y);
+ 	initial_pts_delay+=x;
          audio_delay+=x;
          delay_corrected=1;
***************
*** 1993,1997 ****
      }
  
!     if(verbose)printf("### A:%8.3f (%8.3f)  V:%8.3f  A-V:%7.4f  \n",a_pts,a_pts-audio_delay-delay,v_pts,(a_pts-delay-audio_delay)-v_pts);
  
      if(frame_corr_num==1){
--- 1995,1999 ----
      }
  
!     if(verbose>1)printf("### A:%8.3f (%8.3f)  V:%8.3f  A-V:%7.4f  \n",a_pts,a_pts-audio_delay-delay,v_pts,(a_pts-delay-audio_delay)-v_pts);
  
      if(frame_corr_num==1){
***************
*** 2275,2278 ****
--- 2277,2281 ----
            d_audio->pos=audio_chunk_pos;
            d_audio->dpos=apos;
+ 	  d_audio->pts=initial_pts_delay+(float)apos/(float)sh_audio->wf->nAvgBytesPerSec;
            demuxer->idx_pos_a=demuxer->idx_pos_v=demuxer->idx_pos=audio_chunk_pos;
  


_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog



More information about the MPlayer-cvslog mailing list