forked from mia/Aegisub
Swallow all filesystem errors when automatically opening audio from video
This commit is contained in:
parent
747e34b981
commit
bf13603ae1
1 changed files with 1 additions and 1 deletions
|
@ -479,7 +479,7 @@ void FrameMain::OnVideoOpen() {
|
||||||
catch (agi::UserCancelException const&) { }
|
catch (agi::UserCancelException const&) { }
|
||||||
// Opening a video with no audio data isn't an error, so just log
|
// Opening a video with no audio data isn't an error, so just log
|
||||||
// and move on
|
// and move on
|
||||||
catch (agi::fs::FileNotFound const&) {
|
catch (agi::fs::FileSystemError const&) {
|
||||||
LOG_D("video/open/audio") << "File " << context->videoController->GetVideoName() << " found by video provider but not audio provider";
|
LOG_D("video/open/audio") << "File " << context->videoController->GetVideoName() << " found by video provider but not audio provider";
|
||||||
}
|
}
|
||||||
catch (agi::AudioDataNotFoundError const& e) {
|
catch (agi::AudioDataNotFoundError const& e) {
|
||||||
|
|
Loading…
Reference in a new issue