video_output: avoid variable shadowing