1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-26 09:02:38 +00:00

af_lavrresample: set cutoff as double, not int

Regression introduced with commit a89549e8.
This commit is contained in:
wm4 2013-11-17 16:19:45 +01:00
parent 8438c557cf
commit 2556f45f2e

View File

@ -157,7 +157,7 @@ static int configure_lavrr(struct af_instance *af, struct mp_audio *in,
av_opt_set_int(s->avrctx, "phase_shift", s->ctx.phase_shift, 0);
av_opt_set_int(s->avrctx, "linear_interp", s->ctx.linear, 0);
av_opt_set_int(s->avrctx, "cutoff", s->ctx.cutoff, 0);
av_opt_set_double(s->avrctx, "cutoff", s->ctx.cutoff, 0);
if (parse_avopts(s->avrctx, s->avopts) < 0) {
mp_msg(MSGT_VFILTER, MSGL_FATAL,