Don't add extra samples to output when flushing
2 files changed