Mercurial > mplayer.hg
changeset 815:e34052fd9633
i_bps vs. nAvgBytesPerSec
author | arpi_esp |
---|---|
date | Wed, 16 May 2001 23:04:22 +0000 |
parents | 13805b1ca0f7 |
children | 6d72528d56ff |
files | mplayer.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mplayer.c Wed May 16 22:23:13 2001 +0000 +++ b/mplayer.c Wed May 16 23:04:22 2001 +0000 @@ -1909,7 +1909,8 @@ 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->i_bps; + a_pts=(ds_tell(d_audio)-sh_audio->a_in_buffer_len)/(float)sh_audio->wf->nAvgBytesPerSec; delay_corrected=1; // hack } else { if(!delay_corrected && d_audio->pts){