Nikolay Sivov : mf: Implement stream flushing for sample grabber.