How to handle buffers when nvEncEncodePicture produces NV_ENC_ERR_NEED_MORE_INPUT

Hi mandar,

Yes the example is what I am referring to with NvEncoder.cpp: NvEncoder is the example decoder implementation, which does not keep buffers around in the case of NEED_MORE_INPUT.