diff --git a/aegisub/audio_provider_avs.cpp b/aegisub/audio_provider_avs.cpp index 2643e5462..262ec2b3b 100644 --- a/aegisub/audio_provider_avs.cpp +++ b/aegisub/audio_provider_avs.cpp @@ -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