Remove duplicate video errors

This commit is contained in:
Natsumi
2022-06-13 02:22:00 +12:00
parent c5495634f2
commit 5c6d8799df

View File

@@ -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[]
{