From 5c6d8799dfcb1aa9ae9495cfb6546ff496b07a0f Mon Sep 17 00:00:00 2001 From: Natsumi Date: Mon, 13 Jun 2022 02:22:00 +1200 Subject: [PATCH] Remove duplicate video errors --- LogWatcher.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/LogWatcher.cs b/LogWatcher.cs index 71aaf817..00aaa873 100644 --- a/LogWatcher.cs +++ b/LogWatcher.cs @@ -24,6 +24,7 @@ namespace VRCX public bool ShaderKeywordsLimitReached = false; public bool AudioDeviceChanged = false; public string LastAudioDevice; + public string LastVideoError; public string onJoinPhotonDisplayName; } @@ -331,6 +332,7 @@ namespace VRCX }); logContext.onJoinPhotonDisplayName = String.Empty; + logContext.LastVideoError = String.Empty; return true; } @@ -535,6 +537,9 @@ namespace VRCX return false; var data = line.Substring(offset + 24); + if (data == logContext.LastVideoError) + return true; + logContext.LastVideoError = data; AppendLog(new[] {