Write a macro that goes to output after a frame if there was no input that frame

Bump. The topic is actual.