Use a provided callback instead of internal buffer allocation
This will minimize the amount of frames copies outside of the library.
It may also be good to know the maximum amout of frames the decoder is going to buffer for the Video Sequence in use.