diff --git a/aegisub/audio_provider_avs.cpp b/aegisub/audio_provider_avs.cpp index 2643e5462f1b281d7af9874f640d4837d54ca203..262ec2b3b233a9d541ad16f880e707f32f834103 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