Make the init input check more robust in init_video_input