lsmashinput: Integrate common video rendering preparation.