[AutoVideoMode] fix build error.