video reading fix, reads all buffered frames from stream.