Don't decode audio URIs stored on the script as it currently always stores the absolute path and the decoding breaks dummy audio URIs

Originally committed to SVN as r6429.
This commit is contained in:
Thomas Goyne 2012-02-01 23:59:32 +00:00
parent 3d6e5e7d39
commit eebcf34edb
1 changed files with 1 additions and 1 deletions

View File

@ -610,7 +610,7 @@ void FrameMain::OnSubtitlesOpen() {
wxString curSubsVideo = DecodeRelativePath(context->ass->GetScriptInfo("Video File"),context->ass->filename);
wxString curSubsVFR = DecodeRelativePath(context->ass->GetScriptInfo("VFR File"),context->ass->filename);
wxString curSubsKeyframes = DecodeRelativePath(context->ass->GetScriptInfo("Keyframes File"),context->ass->filename);
wxString curSubsAudio = DecodeRelativePath(context->ass->GetScriptInfo("Audio URI"),context->ass->filename);
wxString curSubsAudio = context->ass->GetScriptInfo("Audio URI");
// Check if there is anything to change
int autoLoadMode = OPT_GET("App/Auto/Load Linked Files")->GetInt();