support colon separated data for the 'tx' command in cec-client
[deb_libcec.git] / src / testclient / main.cpp
index 945935afc86d9946feb9ff36f1ebc039fc3efbf3..bb6e133b8417c22eefa331f62a92d1e5ccb42a1b 100644 (file)
@@ -381,6 +381,10 @@ bool ProcessCommandTX(ICECAdapter *parser, const string &command, string &argume
     cec_command bytes;
     bytes.Clear();
 
+    CStdString strArguments(arguments);
+    strArguments.Replace(':', ' ');
+    arguments = strArguments;
+
     while (GetWord(arguments, strvalue) && HexStrToInt(strvalue, ivalue))
       bytes.PushBack(ivalue);