fix skipframe count error
Merge pull request #1366 from lyao2/refine_frameskip2

fix skipframe count error