summaryrefslogtreecommitdiffstats
path: root/options/options.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-10-02 02:58:52 +0200
committerwm4 <wm4@nowhere>2014-10-02 02:58:52 +0200
commitae2e2b974077f13c48007635c399918125822286 (patch)
tree2b3fc2c4783024fd6372099de80ec451927d8a27 /options/options.h
parentb5942f80de481cabab07ce1cee7a2b6a537b4c93 (diff)
downloadmpv-ae2e2b974077f13c48007635c399918125822286.tar.bz2
mpv-ae2e2b974077f13c48007635c399918125822286.tar.xz
audio: enable pitch correction by default when playing fast
Apparently this is what users want. When playing with normal speed, nothing is done. When playing slower than normal, resampling is used instead, because scaletempo (which does the pitch correction) adds too many artifacts.
Diffstat (limited to 'options/options.h')
-rw-r--r--options/options.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/options/options.h b/options/options.h
index eda99a88cb..580a0cc780 100644
--- a/options/options.h
+++ b/options/options.h
@@ -205,6 +205,7 @@ typedef struct MPOpts {
int force_srate;
int dtshd;
double playback_speed;
+ int pitch_correction;
struct m_obj_settings *vf_settings, *vf_defs;
struct m_obj_settings *af_settings, *af_defs;
int deinterlace;