1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-01 04:31:39 +00:00

*** empty log message ***

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9801 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
albeu 2003-04-02 19:23:28 +00:00
parent ac609391db
commit b47e8c2763

View File

@ -88,7 +88,7 @@ void demux_rawaudio_seek(demuxer_t *demuxer,float rel_seek_secs,int flags){
pos -= (pos % (sh_audio->channels * sh_audio->samplesize) );
stream_seek(s,pos);
//sh_audio->delay=pos / (float)(sh_audio->wf->nAvgBytesPerSec);
sh_audio->delay= (pos-ds_tell_pts(demuxer->audio)-sh_audio->a_in_buffer_len) / (float)(sh_audio->wf->nAvgBytesPerSec);
resync_audio_stream(sh_audio);
// printf("demux_rawaudio: streamtell=%d\n",(int)stream_tell(demuxer->stream));
}