[vlc-devel] commit: Fixed bandlimited when switching from non resampling state. ( Laurent Aimar )

git version control git at videolan.org
Sat Oct 3 18:32:55 CEST 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Fri Oct  2 20:44:44 2009 +0200| [187f4eb288f95b5950451ec389418e872e4477de] | committer: Laurent Aimar 

Fixed bandlimited when switching from non resampling state.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=187f4eb288f95b5950451ec389418e872e4477de
---

 modules/audio_filter/resampler/bandlimited.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/audio_filter/resampler/bandlimited.c b/modules/audio_filter/resampler/bandlimited.c
index 0fba703..5577975 100644
--- a/modules/audio_filter/resampler/bandlimited.c
+++ b/modules/audio_filter/resampler/bandlimited.c
@@ -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;
     }
 




More information about the vlc-devel mailing list