Cancel method for VideoEncoder