move perfquery enable checks into videocommon (caller side)