Skip to content

Commit

Permalink
Fix minor cosmetic issues, bump version
Browse files Browse the repository at this point in the history
The real issue is that the 32-bit binary of 0.1.0 was built in Debug
mode; my attention was on the 64-bit, and I was careless. There are no
functional changes to the code, but simply replacing the 0.1.0 DLLs
could create confusion.
  • Loading branch information
ItEndsWithTens committed May 7, 2018
1 parent 18cbc65 commit bcf46bc
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ endif()

set(SICKJUMPS_MAJOR 0)
set(SICKJUMPS_MINOR 1)
set(SICKJUMPS_PATCH 0)
set(SICKJUMPS_PATCH 1)
set(SICKJUMPS_VERSION ${SICKJUMPS_MAJOR}.${SICKJUMPS_MINOR}.${SICKJUMPS_PATCH})
set(SICKJUMPS_AUTHOR "Robert Martens")
set(SICKJUMPS_AUTHOR_EMAIL "<[email protected]>")
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

SickJumps 0.1.0
SickJumps 0.1.1
===============

A speed ramping plugin for [Avisynth](http://www.avisynth.nl).
Expand All @@ -14,7 +14,7 @@
### Usage ###

SickJumps(clip c, int "first_frame", int "last_frame",
float "start_multiplier", float full_multiplier",
float "start_multiplier", float "full_multiplier",
float "up_seconds", float "down_seconds",
string "script_variable", float "end_multiplier")

Expand Down
4 changes: 2 additions & 2 deletions src/SickJumps.rc.in
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
{
VALUE "CompanyName", "${SICKJUMPS_AUTHOR} ${SICKJUMPS_AUTHOR_EMAIL}"
VALUE "FileDescription", "${SICKJUMPS_DESCRIPTION}"
VALUE "FileVersion", "${SICKJUMPS_VERSION}.0"
VALUE "FileVersion", "${SICKJUMPS_VERSION}"
VALUE "InternalName", "${PROJECT_NAME}"
VALUE "LegalCopyright", "2017 ${SICKJUMPS_AUTHOR}"
VALUE "OriginalFilename", "${PROJECT_NAME}.dll"
VALUE "ProductName", "${PROJECT_NAME}"
VALUE "ProductVersion", "${SICKJUMPS_VERSION}.0"
VALUE "ProductVersion", "${SICKJUMPS_VERSION}"
}
}
BLOCK "VarFileInfo"
Expand Down
1 change: 0 additions & 1 deletion src/SickJumpsCore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ SickJumpsCore::SickJumpsCore(int _frameCount, int _firstFrame, int _lastFrame, d
// down ramp remains the same. To fit the new input frame count into the same
// output frame count, the down ramp needs its own multiplier tweaked as well.
int downDistanceOutput = rampDownOutputFrames - 1;
int calculatedDownDistanceInput = static_cast<int>(std::round(downDistanceOutput * downAverageVideoMultiplier));
double originalDownAverageMultiplier = downAverageVideoMultiplier;
int expectedDownDistanceInputFrames = rampDownLastInputFrame - rampDownFirstInputFrame;
downAverageVideoMultiplier = static_cast<double>(expectedDownDistanceInputFrames) / static_cast<double>(downDistanceOutput);
Expand Down
1 change: 0 additions & 1 deletion test/src/frames.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ TEST_CASE("Ramps start and end on proper input frames with a full multiplier of
CHECK(c.fullSpeedFirstOutputFrame == 10120);
CHECK(c.fullSpeedLastOutputFrame == 29969);
CHECK(c.rampDownFirstOutputFrame == 29970);
//CHECK(c.rampDownLastOutputFrame == );

CHECK(c.rampUpFirstInputFrame == 10000);
CHECK(c.rampUpLastInputFrame == 10298);
Expand Down

0 comments on commit bcf46bc

Please sign in to comment.