[Mplayer-cvslog] CVS: main mplayer.c,1.515,1.516
Arpi of Ize
arpi at mplayerhq.hu
Fri Jun 14 19:40:47 CEST 2002
Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv18838
Modified Files:
mplayer.c
Log Message:
10l typo, noticed by Nick K.
Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.515
retrieving revision 1.516
diff -u -r1.515 -r1.516
--- mplayer.c 6 Jun 2002 07:13:42 -0000 1.515
+++ mplayer.c 14 Jun 2002 17:40:36 -0000 1.516
@@ -341,7 +341,7 @@
#ifdef HAVE_NEW_INPUT
if(mask&INITED_INPUT){
- inited_flags&=INITED_INPUT;
+ inited_flags&=~INITED_INPUT;
current_module="uninit_input";
mp_input_uninit();
}
@@ -1803,6 +1803,13 @@
// PTS = (last timestamp) + (bytes after last timestamp)/(bytes per sec)
a_pts=d_audio->pts;
if(!delay_corrected) if(a_pts) delay_corrected=1;
+#if 0
+ printf("\n#X# pts=%5.3f ds_pts=%5.3f buff=%5.3f total=%5.3f\n",
+ a_pts,
+ ds_tell_pts(d_audio)/(float)sh_audio->i_bps,
+ -sh_audio->a_in_buffer_len/(float)sh_audio->i_bps,
+ a_pts+(ds_tell_pts(d_audio)-sh_audio->a_in_buffer_len)/(float)sh_audio->i_bps);
+#endif
a_pts+=(ds_tell_pts(d_audio)-sh_audio->a_in_buffer_len)/(float)sh_audio->i_bps;
}
v_pts=d_video->pts;
More information about the MPlayer-cvslog
mailing list