Fixed a rogue long path (made it short path) in avs audio provider.

Originally committed to SVN as r1846.
This commit is contained in:
Rodrigo Braz Monteiro 2008-01-26 17:18:12 +00:00
parent 96bb7cbe53
commit db1de1a8e0

View file

@ -136,7 +136,7 @@ void AvisynthAudioProvider::OpenAVSAudio() {
// Load DirectShowSource.dll from app dir if it exists
wxFileName dsspath(StandardPaths::DecodePath(_T("?data/DirectShowSource.dll")));
if (dsspath.FileExists()) {
env->Invoke("LoadPlugin",env->SaveString(dsspath.GetFullPath().mb_str(wxConvLocal)));
env->Invoke("LoadPlugin",env->SaveString(dsspath.GetShortPath().mb_str(wxConvLocal)));
}
// Load audio with DSS if it exists