Use same variable to signal y4m for in- and output