diff options
author | wm4 <wm4@nowhere> | 2013-11-10 21:40:51 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-11-10 22:49:39 +0100 |
commit | 6ec1f317654ae1e1424ec7c519cf307aae7c3efe (patch) | |
tree | 414385c5a2c8f434e7839ecd729720ed027c940b /audio/out | |
parent | 775e08ba656baab77b245536f4d3aaebde503279 (diff) | |
download | mpv-6ec1f317654ae1e1424ec7c519cf307aae7c3efe.tar.bz2 mpv-6ec1f317654ae1e1424ec7c519cf307aae7c3efe.tar.xz |
af: don't skip filtering if there's no more audio
My main problem with this is that the output format will be incorrect.
(This doesn't matter right, because there are no samples output.)
This assumes all audio filters can deal with len==0 passed in for
filtering (though I wouldn't see why not).
A filter can still signal an error by returning NULL.
af_lavrresample has to be fixed, since resampling 0 samples makes
libavresample fail and return a negative error code. (Even though it's
not documented to return an error code!)
Diffstat (limited to 'audio/out')
0 files changed, 0 insertions, 0 deletions