Skip to content

Commit

Permalink
scaletempo: fix block length
Browse files Browse the repository at this point in the history
  • Loading branch information
tguillem committed Mar 19, 2019
1 parent 86f2e8c commit a117f3f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/audio_filter/scaletempo.c
Expand Up @@ -591,7 +591,8 @@ static block_t *DoWork( filter_t * p_filter, block_t * p_in_buf )
p_out_buf->i_nb_samples = bytes_out / p->bytes_per_frame;
p_out_buf->i_dts = p_in_buf->i_dts;
p_out_buf->i_pts = p_in_buf->i_pts;
p_out_buf->i_length = p_in_buf->i_length;
p_out_buf->i_length = vlc_tick_from_samples(p_out_buf->i_nb_samples,
p_filter->fmt_out.audio.i_rate);
}

block_Release( p_in_buf );
Expand Down

0 comments on commit a117f3f

Please sign in to comment.