Added an option for the size of the input buffer and for the output of the output buffer after each decoded frame.