Small quirk in previous commit
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 9 Jun 2011 16:23:04 +0000 (19:23 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 9 Jun 2011 16:23:04 +0000 (19:23 +0300)
src/audio_output/input.c

index 28620d7..0ae5f53 100644 (file)
@@ -600,6 +600,7 @@ int aout_InputPlay( aout_instance_t * p_aout, aout_input_t * p_input,
         inputResamplingStop( p_input );
         p_buffer->i_flags |= BLOCK_FLAG_DISCONTINUITY;
         start_date = p_buffer->i_pts;
+        drift = 0;
     }
     else if( drift > +tolerance )
     {