Shouldn't that be only set if deinterlacing is actually needed? That'd avoid unnecessary processing in the render loop...