mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 14:53:50 +02:00
Remove duplicate video errors
This commit is contained in:
@@ -24,6 +24,7 @@ namespace VRCX
|
|||||||
public bool ShaderKeywordsLimitReached = false;
|
public bool ShaderKeywordsLimitReached = false;
|
||||||
public bool AudioDeviceChanged = false;
|
public bool AudioDeviceChanged = false;
|
||||||
public string LastAudioDevice;
|
public string LastAudioDevice;
|
||||||
|
public string LastVideoError;
|
||||||
public string onJoinPhotonDisplayName;
|
public string onJoinPhotonDisplayName;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -331,6 +332,7 @@ namespace VRCX
|
|||||||
});
|
});
|
||||||
|
|
||||||
logContext.onJoinPhotonDisplayName = String.Empty;
|
logContext.onJoinPhotonDisplayName = String.Empty;
|
||||||
|
logContext.LastVideoError = String.Empty;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -535,6 +537,9 @@ namespace VRCX
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
var data = line.Substring(offset + 24);
|
var data = line.Substring(offset + 24);
|
||||||
|
if (data == logContext.LastVideoError)
|
||||||
|
return true;
|
||||||
|
logContext.LastVideoError = data;
|
||||||
|
|
||||||
AppendLog(new[]
|
AppendLog(new[]
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user