Implementation of varying size picture queue : the number of frames in
the buffer between decoding thread and display loop is based on the size
of the file (e.g. 10% num frames total) and is adjusted depending on the
play speed (larger if playing faster to allow decoder to read faster
forward when speed is higher).