]> granicus.if.org Git - handbrake/commitdiff
WinGui: Restore GPU info logging.
authorsr55 <sr55.hb@outlook.com>
Sat, 8 Mar 2014 20:14:04 +0000 (20:14 +0000)
committersr55 <sr55.hb@outlook.com>
Sat, 8 Mar 2014 20:14:04 +0000 (20:14 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6103 b64f7644-9d1e-0410-96f1-a4d463321fa5

win/CS/HandBrake.ApplicationServices/Utilities/GeneralUtilities.cs

index 26e0f95bd4596b754c7b5aa14408492afac479b2..0bf34b6a4c895b1e21ba32b60f25c6b899629d0f 100644 (file)
@@ -125,7 +125,9 @@ namespace HandBrake.ApplicationServices.Utilities
 \r
             logHeader.AppendLine(String.Format("HandBrake {0} - {1}", VersionHelper.GetVersion(), VersionHelper.GetPlatformBitnessVersion()));\r
             logHeader.AppendLine(String.Format("OS: {0}", Environment.OSVersion));\r
-            logHeader.Append(String.Format("Ram: {0} MB, ", SystemInfo.TotalPhysicalMemory));\r
+            logHeader.AppendLine(String.Format("CPU: {0}", SystemInfo.GetCpuCount));\r
+            logHeader.AppendLine(String.Format("Ram: {0} MB, ", SystemInfo.TotalPhysicalMemory));\r
+            logHeader.AppendLine(String.Format("GPU Information:{0}{1}", Environment.NewLine, gpuBuilder.ToString().TrimEnd()));\r
             logHeader.AppendLine(String.Format("Screen: {0}x{1}", SystemInfo.ScreenBounds.Bounds.Width, SystemInfo.ScreenBounds.Bounds.Height));\r
             logHeader.AppendLine(String.Format("Temp Dir: {0}", Path.GetTempPath()));\r
             logHeader.AppendLine(String.Format("Install Dir: {0}", Application.StartupPath));\r