IEnumerator SeekNextFrame(IFacePlusVideo moviePlayer, int lastFrame)
 {
     while (Movie.DisplayFrame <= lastFrame)
     {
         Movie.UpdateMovie(false);
         yield return(null);
     }
 }
 // TODO: move to IFacePlusVideo?
 IEnumerator Seek(IFacePlusVideo moviePlayer, uint frame)
 {
     moviePlayer.PositionFrames = frame;
     while (moviePlayer.DisplayFrame != frame)
     {
         moviePlayer.UpdateMovie(false);
         yield return(null);
     }
 }
示例#3
0
 // TODO: move to IFacePlusVideo?
 IEnumerator Seek(IFacePlusVideo moviePlayer, uint frame)
 {
     moviePlayer.PositionFrames = frame;
     while (moviePlayer.DisplayFrame != frame) {
     moviePlayer.UpdateMovie(false);
     yield return null;
     }
 }