forked from mia/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
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ void AvisynthAudioProvider::OpenAVSAudio() {
|
||||||
// Load DirectShowSource.dll from app dir if it exists
|
// Load DirectShowSource.dll from app dir if it exists
|
||||||
wxFileName dsspath(StandardPaths::DecodePath(_T("?data/DirectShowSource.dll")));
|
wxFileName dsspath(StandardPaths::DecodePath(_T("?data/DirectShowSource.dll")));
|
||||||
if (dsspath.FileExists()) {
|
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
|
// Load audio with DSS if it exists
|
||||||
|
|
Loading…
Reference in a new issue