summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-02-10 22:14:26 +0100
committerwm4 <wm4@nowhere>2015-02-10 22:14:26 +0100
commit2a3d19a9dffc2613d491fc4dcd49e1e239e663c9 (patch)
tree4c5a12946c6495cd7757796440943cd4cc9e3801 /player
parent30f3f9fcda34dc57eca478f8333806e19c839115 (diff)
downloadmpv-2a3d19a9dffc2613d491fc4dcd49e1e239e663c9.tar.bz2
mpv-2a3d19a9dffc2613d491fc4dcd49e1e239e663c9.tar.xz
af_scaletempo: drop detaching or skipping init on speed=1
This code skipped initialization if no speed/pitch change was to be applied. It also didn't force conversion of the audio to a supported format, which is probably the most important case in context of compatibility. With this change applied, af_scaletempo will always force format conversion. To make the change less disruptive, make the filter detach if unconvertable formats are used. Some users use spdif and also have "af=scaletempo" in their config, so better not completely break this. In the case the filter was added with the "speed=both" suboption, the filter also detached itself in this case; but it's an obscure case, so I don't care about that.
Diffstat (limited to 'player')
0 files changed, 0 insertions, 0 deletions