summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-02-10 23:50:17 +0100
committerwm4 <wm4@nowhere>2015-02-11 00:29:12 +0100
commitb6ab34fc98a4f839a505d3410b87a40286ed2ccc (patch)
tree5236ad097fae9b3dce38c04c7b99c827dde0adc5 /wscript
parentabbaaaa6e7b565758822fb6aa90ebbb10353f699 (diff)
downloadmpv-b6ab34fc98a4f839a505d3410b87a40286ed2ccc.tar.bz2
mpv-b6ab34fc98a4f839a505d3410b87a40286ed2ccc.tar.xz
af_rubberband: pitch correction with librubberband
If "--af=rubberband" is used, librubberband will be used to speed up or slow down audio with pitch correction. This still has some problems: the audio delay is not calculated correctly, so the audio position jitters around by a few milliseconds. This will probably ruin video timing.
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/wscript b/wscript
index 8f3961cf97..e7e939a629 100644
--- a/wscript
+++ b/wscript
@@ -336,6 +336,10 @@ If you really mean to compile without libass support use --disable-libass."
'desc': 'LADSPA plugin support',
'func': check_statement('ladspa.h', 'LADSPA_Descriptor ld = {0}'),
}, {
+ 'name': '--rubberband',
+ 'desc': 'librubberband support',
+ 'func': check_pkg_config('rubberband', '>= 1.8.0'),
+ }, {
'name': '--libbs2b',
'desc': 'libbs2b audio filter support',
'func': check_pkg_config('libbs2b'),