cuda: release old parser before create
cuda: copy frame from host memory(it will be released in next call)