[Mplayer-cvslog] CVS: main mplayer.c,1.120,1.121

GEREOFFY arpi_esp at users.sourceforge.net
Thu May 17 01:04:24 CEST 2001


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

Modified Files:
	mplayer.c 
Log Message:
i_bps vs. nAvgBytesPerSec

Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.120
retrieving revision 1.121
diff -C2 -r1.120 -r1.121
*** mplayer.c	2001/05/14 09:35:51	1.120
--- mplayer.c	2001/05/16 23:04:22	1.121
***************
*** 1910,1914 ****
      if(pts_from_bps){
        // PTS = (audio position)/(bytes per sec)
!       a_pts=(ds_tell(d_audio)-sh_audio->a_in_buffer_len)/(float)sh_audio->i_bps;
        delay_corrected=1; // hack
      } else {
--- 1910,1915 ----
      if(pts_from_bps){
        // PTS = (audio position)/(bytes per sec)
! //      a_pts=(ds_tell(d_audio)-sh_audio->a_in_buffer_len)/(float)sh_audio->i_bps;
!       a_pts=(ds_tell(d_audio)-sh_audio->a_in_buffer_len)/(float)sh_audio->wf->nAvgBytesPerSec;
        delay_corrected=1; // hack
      } else {


_______________________________________________
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