Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
Fix build script for simpleini
Update README for portable mode
  • Loading branch information
CrendKing committed Nov 3, 2020
1 parent 9a59c4b commit 623b5b6
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ paket-files/
__pycache__/
*.pyc

/wiki/
/dep_*/
release.bat
*.zip
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ Since version 0.6.0, this filter allows other programs to remotely control it vi

For details of the API, please refer to the comments in source file [api.h](https://github.com/CrendKing/avisynth_filter/blob/master/avisynth_filter/src/api.h).

## Portable mode

Read https://github.com/CrendKing/avisynth_filter/wiki/Portable-mode.

## Example script

Add a line of text to videos with less than 20 FPS. Otherwise disconnect the filter.
Expand Down
4 changes: 2 additions & 2 deletions avisynth_filter/src/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ namespace AvsFilter {
#define FILTER_NAME_BASE "AviSynth Filter"
#define FILTER_FILENAME_BASE "avisynth_filter"
#define FILTER_VERSION_MAJOR 0
#define FILTER_VERSION_MINOR 7
#define FILTER_VERSION_PATCH 5
#define FILTER_VERSION_MINOR 8
#define FILTER_VERSION_PATCH 0
#define FILTER_VERSION_STRING STR(FILTER_VERSION_MAJOR) "." STR(FILTER_VERSION_MINOR) "." STR(FILTER_VERSION_PATCH)

}
6 changes: 5 additions & 1 deletion build.bat
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cd /d "%~dp0"

for /f "delims=" %%i in ('"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" -nologo -utf8 -latest -find **\vcvars64.bat ) do call "%%i"
for /f "delims=" %%i in ('"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" -nologo -utf8 -latest -find **\vcvars64.bat') do call "%%i"

if not exist dep_directshow (
mkdir checkout_directshow
Expand Down Expand Up @@ -30,6 +30,10 @@ if not exist dep_avisynth_plus (
rmdir /s /q checkout_avisynth_plus
)

if not exist dep_simpleini (
git clone https://github.com/brofield/simpleini.git dep_simpleini
)

set ds_platform=%1
set filter_platform=%1

Expand Down
2 changes: 1 addition & 1 deletion build.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories>$(MSBuildThisFileDirectory)dep_directshow;$(MSBuildThisFileDirectory)dep_avisynth_plus;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>$(MSBuildThisFileDirectory)dep_directshow;$(MSBuildThisFileDirectory)dep_avisynth_plus;$(MSBuildThisFileDirectory)dep_simpleini;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<AdditionalLibraryDirectories Condition="'$(Platform)' == 'x64'">$(MSBuildThisFileDirectory)\dep_directshow\x64\Release;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
Expand Down

0 comments on commit 623b5b6

Please sign in to comment.