1
mirror of https://code.videolan.org/videolan/vlc synced 2024-08-31 06:46:39 +02:00

Fixed scaletempo after "audio filter2" conversion.

The output timestamp/length wasn't set anymore.
This commit is contained in:
Laurent Aimar 2009-10-04 18:40:22 +02:00
parent 12aa50123e
commit 9418bdc611

View File

@ -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;
}