[Mplayer-cvslog] CVS: main mplayer.c,1.333,1.334

Arpi of Ize arpi at mplayer.dev.hu
Tue Dec 4 01:26:49 CET 2001


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

Modified Files:
	mplayer.c 
Log Message:
using audio.dwStart too... (for baittest.avi)

Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.333
retrieving revision 1.334
diff -u -r1.333 -r1.334
--- mplayer.c	3 Dec 2001 01:03:17 -0000	1.333
+++ mplayer.c	4 Dec 2001 00:26:45 -0000	1.334
@@ -1559,6 +1559,7 @@
         unsigned int samples=(sh_audio->audio.dwSampleSize)?
           ((ds_tell(d_audio)-sh_audio->a_in_buffer_len)/sh_audio->audio.dwSampleSize) :
           (d_audio->pack_no); // <- used for VBR audio
+	samples+=sh_audio->audio.dwStart; // offset
         a_pts=samples*(float)sh_audio->audio.dwScale/(float)sh_audio->audio.dwRate;
 #else
       if(sh_audio->audio.dwSampleSize)




More information about the MPlayer-cvslog mailing list