video_dec: Add compensate the defect of dynamic resolution change.