canvasvideo: fix syntax error