mirror of https://github.com/odrling/Aegisub
Fixed a rogue long path (made it short path) in avs audio provider.
Originally committed to SVN as r1846.
This commit is contained in:
parent
96bb7cbe53
commit
db1de1a8e0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue