commit | 1240afabfa792c1a3ba2b766c9c7bc0b3aae4b0f | [log] [tgz] |
---|---|---|
author | Georg Chini <georg@chini.tk> | Wed Jul 03 12:32:16 2019 +0200 |
committer | Arun Raghavan <arun@arunraghavan.net> | Wed Jul 03 10:52:20 2019 +0000 |
tree | 2b8d743134bd6d73a37e12d46891d783d5f95f0a | |
parent | f89d64b98e12bb71b6aa94fcef31eafc060f9759 [diff] |
source-output: Fix rewinding bug Currently the rewind logic for the source output is broken if the output does not implement a process_rewind() callback. In that case, the read index of the delay memblockq is rewound. This is wrong, because the data that is going to be re-written was not yet read. Instead the write index should be rewound and the read index left untouched. This is the reason for the rewind glitches of monitor sources.