filters/auto_filters: switch from scaletempo to scaletempo2

Part 1 of "look how well it performs, then start cleaning up the
old one."

Closes #8376
This commit is contained in:
Jan Ekström 2021-01-20 20:07:08 +02:00
parent 2e45a3d336
commit b0b37df31f
3 changed files with 5 additions and 5 deletions

View File

@ -213,7 +213,7 @@ Playback Control
Slow down or speed up playback by the factor given as parameter.
If ``--audio-pitch-correction`` (on by default) is used, playing with a
speed higher than normal automatically inserts the ``scaletempo`` audio
speed higher than normal automatically inserts the ``scaletempo2`` audio
filter.
``--pause``
@ -1746,7 +1746,7 @@ Audio
``--audio-pitch-correction=<yes|no>``
If this is enabled (default), playing with a speed different from normal
automatically inserts the ``scaletempo`` audio filter. For details, see
automatically inserts the ``scaletempo2`` audio filter. For details, see
audio filter section.
``--audio-device=<name>``

View File

@ -329,9 +329,9 @@ static void aspeed_process(struct mp_filter *f)
if (req_filter) {
if (req_filter == 1) {
MP_VERBOSE(f, "adding scaletempo\n");
MP_VERBOSE(f, "adding scaletempo2\n");
p->sub.filter = mp_create_user_filter(f, MP_OUTPUT_CHAIN_AUDIO,
"scaletempo", NULL);
"scaletempo2", NULL);
} else if (req_filter == 2) {
MP_VERBOSE(f, "adding drop\n");
p->sub.filter = mp_create_user_filter(f, MP_OUTPUT_CHAIN_AUDIO,

View File

@ -9,5 +9,5 @@ struct mp_filter *mp_deint_create(struct mp_filter *parent);
// Rotate according to mp_image.rotate and VO capabilities.
struct mp_filter *mp_autorotate_create(struct mp_filter *parent);
// Insert a filter that inserts scaletempo depending on speed settings.
// Insert a filter that inserts scaletempo2 depending on speed settings.
struct mp_filter *mp_autoaspeed_create(struct mp_filter *parent);