Add a missing check for if the video has an audio track
This commit is contained in:
parent
99b46f6a14
commit
55865d131a
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ void Project::LoadUnloadFiles() {
|
||||||
else
|
else
|
||||||
DoLoadAudio(audio, false);
|
DoLoadAudio(audio, false);
|
||||||
}
|
}
|
||||||
else if (loaded_video && OPT_GET("Video/Open Audio")->GetBool() && audio_file != video_file)
|
else if (loaded_video && OPT_GET("Video/Open Audio")->GetBool() && audio_file != video_file && video_provider->HasAudio())
|
||||||
DoLoadAudio(video, true);
|
DoLoadAudio(video, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue