Mercurial > mplayer.hg
changeset 6429:bff56f37f2ff
10l typo, noticed by Nick K.
author | arpi |
---|---|
date | Fri, 14 Jun 2002 17:40:36 +0000 |
parents | 88a06ebb3287 |
children | 97857ca97a8f |
files | mplayer.c |
diffstat | 1 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mplayer.c Fri Jun 14 01:48:14 2002 +0000 +++ b/mplayer.c Fri Jun 14 17:40:36 2002 +0000 @@ -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;