cec-client: set bGetSettingsFromROM to 1 in cec-client. bugzid: 543
authorLars Op den Kamp <lars@opdenkamp.eu>
Fri, 9 Mar 2012 14:06:24 +0000 (15:06 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Fri, 9 Mar 2012 14:06:24 +0000 (15:06 +0100)
src/testclient/main.cpp

index 2b2c54dc772fc4e99b12d9cf4244efa3ea7986fc..de96e0df237a83e738e10769cb8ae5bc06d98667 100644 (file)
@@ -1028,12 +1028,13 @@ int main (int argc, char *argv[])
 {
   g_config.Clear();
   snprintf(g_config.strDeviceName, 13, "CECTester");
-  g_config.callbackParam      = NULL;
-  g_config.clientVersion      = CEC_CLIENT_VERSION_1_5_0;
-  g_callbacks.CBCecLogMessage = &CecLogMessage;
-  g_callbacks.CBCecKeyPress   = &CecKeyPress;
-  g_callbacks.CBCecCommand    = &CecCommand;
-  g_config.callbacks          = &g_callbacks;
+  g_config.callbackParam       = NULL;
+  g_config.clientVersion       = CEC_CLIENT_VERSION_1_5_0;
+  g_callbacks.CBCecLogMessage  = &CecLogMessage;
+  g_callbacks.CBCecKeyPress    = &CecKeyPress;
+  g_callbacks.CBCecCommand     = &CecCommand;
+  g_config.callbacks           = &g_callbacks;
+  g_config.bGetSettingsFromROM = 1;
 
   if (!ProcessCommandLineArguments(argc, argv))
     return 0;