Look for VSFilter.dll in ?data/csri/ first, then ?data/ and then registry.

Originally committed to SVN as r1600.
This commit is contained in:
Niels Martin Hansen 2007-10-13 02:13:51 +00:00
parent 304e4d080b
commit 84afda857e

View file

@ -507,7 +507,9 @@ void AvisynthVideoProvider::LoadVSFilter() {
AVSTRACE(_T("AvisynthVideoProvider::LoadVSFilter: Loading VSFilter"));
// 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");
if (vsfilterPath.FileExists()) {