mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-12 13:44:56 +02:00
Fixed scaletempo after "audio filter2" conversion.
The output timestamp/length wasn't set anymore.
This commit is contained in:
parent
12aa50123e
commit
9418bdc611
@ -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_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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user