add missing include for std::bad_alloc
rename input clip