mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
Don't automatically load audio from video if audio from that file is already open
This commit is contained in:
parent
d66c8709ae
commit
ffab39b21f
@ -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…
x
Reference in New Issue
Block a user