]> git.sesse.net Git - vlc/commitdiff
Fixed bandlimited when switching from non resampling state.
authorLaurent Aimar <fenrir@videolan.org>
Fri, 2 Oct 2009 18:44:44 +0000 (20:44 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Sat, 3 Oct 2009 16:32:40 +0000 (18:32 +0200)
modules/audio_filter/resampler/bandlimited.c

index 0fba703f447eaeed348dae654a1472c6550b575d..557797515a0bcf9f41c3ad908a510ac4a0ba4b13 100644 (file)
@@ -134,6 +134,7 @@ static block_t *Resample( filter_t * p_filter, block_t * p_in_buf )
                                 p_in_buf->i_nb_samples ) - p_in_buf->i_pts;
         }
         p_sys->i_old_wing = 0;
+        p_sys->b_first = true;
         return p_in_buf;
     }