The codec does not know that deinterlacing is requested. This is only known in the renderer. You would argue that an if-statement and an assignment in probably 50% of the cases is faster than an assignment all the time? To "optimize" it we could set this during VPU buffer allocation since m_deinterlacer is static and does not change.