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_asf.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_asf.c')
-rw-r--r-- | libmpdemux/demux_asf.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libmpdemux/demux_asf.c b/libmpdemux/demux_asf.c index 24bdec5982..85a0176b47 100644 --- a/libmpdemux/demux_asf.c +++ b/libmpdemux/demux_asf.c @@ -493,9 +493,7 @@ static void demux_seek_asf(demuxer_t *demuxer,float rel_seek_secs,float audio_de ds_fill_buffer(d_audio); } - if (d_video->id < 0) - sh_audio->delay = d_audio->pts; - else + if (d_video->id >= 0) while(1){ if(sh_audio && !d_audio->eof){ float a_pts=d_audio->pts; |