Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -212,6 +212,7 @@ static int process_command(AVFilterContext *ctx, const char *cmd, const char *ar · 211 unmodified lines | |||
| 212 | 212 | ||
| 213 | rubberband_set_time_ratio(s->rbs, 1. / s->tempo); | 213 | rubberband_set_time_ratio(s->rbs, 1. / s->tempo); |
| 214 | rubberband_set_pitch_scale(s->rbs, s->pitch); | 214 | rubberband_set_pitch_scale(s->rbs, s->pitch); |
| 215 | s->nb_samples = rubberband_get_samples_required(s->rbs); | ||
| 215 | 216 | ||
| 216 | return 0; | 217 | return 0; |
| 217 | } | 218 | } |