Look for VSFilter.dll in ?data/csri/ first, then ?data/ and then registry.
Originally committed to SVN as r1600.
This commit is contained in:
parent
304e4d080b
commit
84afda857e
1 changed files with 3 additions and 1 deletions
|
@ -507,7 +507,9 @@ void AvisynthVideoProvider::LoadVSFilter() {
|
||||||
AVSTRACE(_T("AvisynthVideoProvider::LoadVSFilter: Loading VSFilter"));
|
AVSTRACE(_T("AvisynthVideoProvider::LoadVSFilter: Loading VSFilter"));
|
||||||
// Loading an avisynth plugin multiple times does almost nothing
|
// Loading an avisynth plugin multiple times does almost nothing
|
||||||
|
|
||||||
wxFileName vsfilterPath(StandardPaths::DecodePath(_T("?data/vsfilter.dll")));
|
wxFileName vsfilterPath(StandardPaths::DecodePath(_T("?data/csri/vsfilter.dll")));
|
||||||
|
if (!vsfilterPath.FileExists())
|
||||||
|
vsfilterPath = wxFileName(StandardPaths::DecodePath(_T("?data/vsfilter.dll")));
|
||||||
rendererCallString = _T("TextSub");
|
rendererCallString = _T("TextSub");
|
||||||
|
|
||||||
if (vsfilterPath.FileExists()) {
|
if (vsfilterPath.FileExists()) {
|
||||||
|
|
Loading…
Reference in a new issue