diff options
author | wm4 <wm4@nowhere> | 2015-02-11 15:46:12 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-02-11 16:32:40 +0100 |
commit | 6f24a61d842c8ae495bbf5d38d6d87fea01d726a (patch) | |
tree | 128553b7c16f4206317a6bb82447325e68e0d73b /video/filter/vf_lavfi.c | |
parent | 76501f4f57d6d00a914a2e7242ab393fb751a190 (diff) | |
download | mpv-6f24a61d842c8ae495bbf5d38d6d87fea01d726a.tar.bz2 mpv-6f24a61d842c8ae495bbf5d38d6d87fea01d726a.tar.xz |
af_rubberband: attempt to fix audio position calculation
The problem here is that librubberband can buffer an arbitrary amount
of data, but at the same time doesn't provide a way to query how much
data is buffered. So we keep track of this manually, assuming that
librubberband tries to reach the requested time ratio for input and
output (which is probably true).
The disadvantage is that rounding errors could accumulate over time.
(Maybe it should try to round towards keeping the time ratio.)
Diffstat (limited to 'video/filter/vf_lavfi.c')
0 files changed, 0 insertions, 0 deletions