diff options
author | wm4 <wm4@nowhere> | 2013-11-17 16:19:45 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-11-17 16:22:35 +0100 |
commit | 2556f45f2eb6d92b6b275dd40550bc936b14b88b (patch) | |
tree | 8a3aff435ed7a61a89e0b54cb0aacf0854227cec /audio/filter | |
parent | 8438c557cff37bd5861a9fd8e94941aba7e22aaf (diff) | |
download | mpv-2556f45f2eb6d92b6b275dd40550bc936b14b88b.tar.bz2 mpv-2556f45f2eb6d92b6b275dd40550bc936b14b88b.tar.xz |
af_lavrresample: set cutoff as double, not int
Regression introduced with commit a89549e8.
Diffstat (limited to 'audio/filter')
-rw-r--r-- | audio/filter/af_lavrresample.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/filter/af_lavrresample.c b/audio/filter/af_lavrresample.c index 9b4d8ca586..e5a9a40efc 100644 --- a/audio/filter/af_lavrresample.c +++ b/audio/filter/af_lavrresample.c @@ -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, |