projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5eec6c
)
Fix erroneous thread affinity log message.
author
Carl Hetherington
<cth@carlh.net>
Mon, 9 May 2016 15:09:06 +0000
(16:09 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 9 May 2016 15:09:06 +0000
(16:09 +0100)
src/lib/encoder.cc
patch
|
blob
|
history
diff --git
a/src/lib/encoder.cc
b/src/lib/encoder.cc
index 34cae7d768c6ad229ecfd14c2b253d5fdd37904d..fdccaddd923a2a6a1ab9ce1a43fe162ca4c1791b 100644
(file)
--- a/
src/lib/encoder.cc
+++ b/
src/lib/encoder.cc
@@
-386,7
+386,9
@@
Encoder::servers_list_changed ()
info.dwOSVersionInfoSize = sizeof (OSVERSIONINFO);
GetVersionEx (&info);
bool const windows_xp = (info.dwMajorVersion == 5 && info.dwMinorVersion == 1);
- LOG_GENERAL_NC (N_("Setting thread affinity for Windows XP"));
+ if (windows_xp) {
+ LOG_GENERAL_NC (N_("Setting thread affinity for Windows XP"));
+ }
#endif
if (!Config::instance()->only_servers_encode ()) {