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); } }
// TODO: move to IFacePlusVideo? IEnumerator Seek(IFacePlusVideo moviePlayer, uint frame) { moviePlayer.PositionFrames = frame; while (moviePlayer.DisplayFrame != frame) { moviePlayer.UpdateMovie(false); yield return null; } }