diff options
author | uau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-06-14 19:48:54 +0000 |
---|---|---|
committer | uau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-06-14 19:48:54 +0000 |
commit | 67233233030d593dd4939f2eb167c0016c3e0b4f (patch) | |
tree | 5aecf0377d69b69dc7ab506b254c073eed9f2d66 /libmpdemux/demux_rawaudio.c | |
parent | 2727b16cbb4168893b2e73a0090ee8f083002eba (diff) | |
download | mpv-67233233030d593dd4939f2eb167c0016c3e0b4f.tar.bz2 mpv-67233233030d593dd4939f2eb167c0016c3e0b4f.tar.xz |
Clean up audio pts handling, make audio pts tracking in the audio-only
case work the same as with video.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18713 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/demux_rawaudio.c')
-rw-r--r-- | libmpdemux/demux_rawaudio.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libmpdemux/demux_rawaudio.c b/libmpdemux/demux_rawaudio.c index a816de6654..d62cc99007 100644 --- a/libmpdemux/demux_rawaudio.c +++ b/libmpdemux/demux_rawaudio.c @@ -92,7 +92,6 @@ static void demux_rawaudio_seek(demuxer_t *demuxer,float rel_seek_secs,float aud pos -= (pos % (sh_audio->channels * sh_audio->samplesize) ); stream_seek(s,pos); - sh_audio->delay= (pos-ds_tell_pts(demuxer->audio)-sh_audio->a_in_buffer_len) / (float)(sh_audio->wf->nAvgBytesPerSec); // printf("demux_rawaudio: streamtell=%d\n",(int)stream_tell(demuxer->stream)); } |