summaryrefslogtreecommitdiffstats
path: root/demux/demux.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-10-07 21:43:05 +0200
committerwm4 <wm4@nowhere>2015-10-07 21:54:45 +0200
commit280251656c4da593d45cc3676facccc7129a8189 (patch)
tree3d0d3d62b0333435855929028ce96ba7d7befea6 /demux/demux.c
parentaa796c23db097c835aeaa711ab3b2ba1eb8721a8 (diff)
downloadmpv-280251656c4da593d45cc3676facccc7129a8189.tar.bz2
mpv-280251656c4da593d45cc3676facccc7129a8189.tar.xz
af_lavrresample: use libswsresample dynamic rate adjustment feature
swr_set_compensation() changes the apparent sample rate on the fly (who would have guessed). It is thus very well-suited for adjusting audio speed on the fly during playback (like needed by the display-sync mode). It skips the relatively slow resampler reinitialization. If this doesn't work (libswresample soxr backend), then fall back to the old method.
Diffstat (limited to 'demux/demux.c')
0 files changed, 0 insertions, 0 deletions