summaryrefslogtreecommitdiffstats
path: root/audio/filter/af_hrtf.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-06-02 20:30:30 +0200
committerwm4 <wm4@nowhere>2015-06-02 20:30:30 +0200
commitfe8634ea901e73d65350b90f735c08c75716dacf (patch)
treebbf38eb00e6691da9e0f43ff97795df2479f83fb /audio/filter/af_hrtf.h
parentf14a3df778b3fa95d8996ca09fd23e1e6ddef16e (diff)
downloadmpv-fe8634ea901e73d65350b90f735c08c75716dacf.tar.bz2
mpv-fe8634ea901e73d65350b90f735c08c75716dacf.tar.xz
af_lavrresample: fix and simplify flushing on playback speed change
This manually retrieved the remaining audio from the resampler. It subtly missed a conversion which could leave to an unsubtle crash. This could happen if reorder_planes() was supposed to insert NA channels, and the resampler/actual output format were different. Simplify it by reusing the normal drain path. One oddness is that the filter will add an output frame outside of normal filtering, but that should be fine.
Diffstat (limited to 'audio/filter/af_hrtf.h')
0 files changed, 0 insertions, 0 deletions