FIX: [mediacodec] proper initialization of output format
FIX: [mediacodec] reset if we are out of input buffers