diff options
author | 2001-05-16 23:04:22 +0000 | |
---|---|---|
committer | 2001-05-16 23:04:22 +0000 | |
commit | bfe1e307c5506ca8f0581be809076cf711b26c43 (patch) | |
tree | 3c851d1537265469b8891e46c7f6ab39e74a4741 /mplayer.c | |
parent | 0866effef16595da6d4bd29aa42068190b621974 (diff) |
i_bps vs. nAvgBytesPerSec
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@816 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1909,7 +1909,8 @@ switch(sh_video->codec->driver){ 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){ |