rewrote videolib to use a queue of compressed data