diff libmpdemux/demux_demuxers.c @ 18710:c528c6c518f1

Clean up audio pts handling, make audio pts tracking in the audio-only case work the same as with video.
author uau
date Wed, 14 Jun 2006 19:48:54 +0000
parents f72bc5754209
children 5c8acc972551
line wrap: on
line diff
--- a/libmpdemux/demux_demuxers.c	Wed Jun 14 16:08:49 2006 +0000
+++ b/libmpdemux/demux_demuxers.c	Wed Jun 14 19:48:54 2006 +0000
@@ -78,7 +78,6 @@
     // In case the demuxer don't set pts
     if(!demuxer->audio->pts)
       demuxer->audio->pts = pos-((ds_tell_pts(demuxer->audio)-sh->a_in_buffer_len)/(float)sh->i_bps);
-    sh->delay = 0;
   }
 
   if(priv->sd != priv->vd)