Commit 764c1542 authored by Laurent Aimar's avatar Laurent Aimar

Small correction to bandlimited.

It does change the timestamp of the audio buffer after a discontinuity.
parent 28cb1c9e
...@@ -112,7 +112,7 @@ static block_t *Resample( filter_t * p_filter, block_t * p_in_buf ) ...@@ -112,7 +112,7 @@ static block_t *Resample( filter_t * p_filter, block_t * p_in_buf )
/* Check if we really need to run the resampler */ /* Check if we really need to run the resampler */
if( i_out_rate == p_filter->fmt_in.audio.i_rate ) if( i_out_rate == p_filter->fmt_in.audio.i_rate )
{ {
if( /*p_filter->b_continuity && /--* What difference does it make ? :) */ if( !(p_in_buf->i_flags & BLOCK_FLAG_DISCONTINUITY) &&
p_sys->i_old_wing ) p_sys->i_old_wing )
{ {
/* output the whole thing with the samples from last time */ /* output the whole thing with the samples from last time */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment