summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorHector Martin <marcan@marcan.st>2016-09-20 01:28:05 +0900
committerwm4 <wm4@nowhere>2016-09-19 18:59:42 +0200
commitf504661852dbd7b8ff28013ffed069de75de1826 (patch)
tree609f20215dc52f2f0e504063f711571b7f75a5c9 /audio
parent57eca14a4537429df498b3b76578ee87debf166c (diff)
downloadmpv-f504661852dbd7b8ff28013ffed069de75de1826.tar.bz2
mpv-f504661852dbd7b8ff28013ffed069de75de1826.tar.xz
af_rubberband: default to channels=together
For stereo and typical L/R-first channel arrangements, this avoids undesirable phasing artifacts, especially obvious when speed is changed and then reset. Without this, there is a very audible change in the stereo field even when librubberband is no longer actually making any speed changes.
Diffstat (limited to 'audio')
-rw-r--r--audio/filter/af_rubberband.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/filter/af_rubberband.c b/audio/filter/af_rubberband.c
index 529c252a12..a4deb3d48c 100644
--- a/audio/filter/af_rubberband.c
+++ b/audio/filter/af_rubberband.c
@@ -214,6 +214,7 @@ const struct af_info af_info_rubberband = {
.opt_pitch = RubberBandOptionPitchHighConsistency,
.opt_transients = RubberBandOptionTransientsMixed,
.opt_formant = RubberBandOptionFormantPreserved,
+ .opt_channels = RubberBandOptionChannelsTogether,
},
.options = (const struct m_option[]) {
OPT_CHOICE("transients", opt_transients, 0,