forked from mia/Aegisub
Don't automatically load audio from video if audio from that file is already open
This commit is contained in:
parent
d66c8709ae
commit
ffab39b21f
1 changed files with 1 additions and 1 deletions
|
@ -543,7 +543,7 @@ void FrameMain::OnVideoOpen() {
|
|||
cmd::call("video/detach", context.get());
|
||||
Thaw();
|
||||
|
||||
if (!blockAudioLoad && OPT_GET("Video/Open Audio")->GetBool()) {
|
||||
if (!blockAudioLoad && OPT_GET("Video/Open Audio")->GetBool() && context->audioController->GetAudioURL() != context->videoController->GetVideoName()) {
|
||||
try {
|
||||
context->audioController->OpenAudio(context->videoController->GetVideoName());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue