summaryrefslogtreecommitdiffstats
path: root/filters/f_swresample.h
Commit message (Collapse)AuthorAgeFilesLines
* swresample: limit output size of audio frameswm42018-02-031-0/+2
| | | | | | | | | | | | | | Similar to the previous commit, and for the same reasons. Unlike with af_scaletempo, resampling does not have a natural frame size, so we set an arbitrary size limit on output frames. We add a new option to control this size, although I'm not sure whether anyone will use it, so mark it for testing only. Note that we go through some effort to avoid buffering data in libswresample itself. One reason is that we might have to reinitialize the resampler completely when changing speed, which drops the buffered data. Another is that I'm not sure whether the resampler will do the right thing when applying dynamic speed changes.
* audio: rewrite filtering glue codewm42018-01-301-0/+42
Use the new filtering code for audio too.