Skip to content

Commit

Permalink
frame count patch
Browse files Browse the repository at this point in the history
  • Loading branch information
TNTwise authored Jan 2, 2024
1 parent 8377335 commit c631553
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -662,11 +662,15 @@ int main(int argc, char** argv)
// fine
rife_v2 = true;
}

else if (model.find(PATHSTR("rife-v3")) != path_t::npos)
{
// fine

rife_v2 = true;


}

else if (model.find(PATHSTR("rife-v4")) != path_t::npos)
{
// fine
Expand Down Expand Up @@ -710,7 +714,7 @@ int main(int argc, char** argv)
output_files.resize(numframe);
timesteps.resize(numframe);

double scale = (double)count / numframe;
double scale = (double)(count - 1.0) / (numframe - 1.0);
for (int i=0; i<numframe; i++)
{
// TODO provide option to control timestep interpolate method
Expand Down

0 comments on commit c631553

Please sign in to comment.