diff options
author | wm4 <wm4@nowhere> | 2015-06-02 20:30:30 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-06-02 20:30:30 +0200 |
commit | fe8634ea901e73d65350b90f735c08c75716dacf (patch) | |
tree | bbf38eb00e6691da9e0f43ff97795df2479f83fb /input/input.h | |
parent | f14a3df778b3fa95d8996ca09fd23e1e6ddef16e (diff) | |
download | mpv-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 'input/input.h')
0 files changed, 0 insertions, 0 deletions