add video_state function which can reduce reset ddr rate when playing video