Commit 9418bdc6 authored by Laurent Aimar's avatar Laurent Aimar

Fixed scaletempo after "audio filter2" conversion.

The output timestamp/length wasn't set anymore.
parent 12aa5012
......@@ -493,8 +493,11 @@ static block_t *DoWork( filter_t * p_filter, block_t * p_in_buf )
p_in_buf->p_buffer, p_in_buf->i_buffer,
p_out_buf->p_buffer );
block_Release( p_in_buf );
p_out_buf->i_buffer = bytes_out;
p_out_buf->i_buffer = bytes_out;
p_out_buf->i_nb_samples = bytes_out / p->bytes_per_frame;
p_out_buf->i_pts = p_in_buf->i_pts;
p_out_buf->i_length = p_in_buf->i_length;
block_Release( p_in_buf );
return p_out_buf;
}
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