X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftestclient%2Fmain.cpp;h=f27fda9077e18276def1a6ac1bf729b9fc0808e8;hb=f71a1df9ac5b73127eb05aa0abe6063a05b0271d;hp=d1ca8c19616a3b43446f5a0494588affd9e1c0eb;hpb=6c3c8d5aee5542ba00a73ff4db9709e8d5324024;p=deb_libcec.git diff --git a/src/testclient/main.cpp b/src/testclient/main.cpp index d1ca8c1..f27fda9 100644 --- a/src/testclient/main.cpp +++ b/src/testclient/main.cpp @@ -593,7 +593,7 @@ bool ProcessCommandNAME(ICECAdapter *parser, const string &command, string &argu int iDev = atoi(strDev); if (iDev >= 0 && iDev < 15) { - cec_osd_name name = parser->GetOSDName((cec_logical_address)iDev); + cec_osd_name name = parser->GetDeviceOSDName((cec_logical_address)iDev); cout << "OSD name of device " << iDev << " is '" << name.name << "'" << endl; } return true; @@ -725,7 +725,7 @@ bool ProcessCommandSCAN(ICECAdapter *parser, const string &command, string &argu uint16_t iPhysicalAddress = parser->GetDevicePhysicalAddress((cec_logical_address)iPtr); cec_version iCecVersion = parser->GetDeviceCecVersion((cec_logical_address)iPtr); cec_power_status power = parser->GetDevicePowerStatus((cec_logical_address)iPtr); - cec_osd_name osdName = parser->GetOSDName((cec_logical_address)iPtr); + cec_osd_name osdName = parser->GetDeviceOSDName((cec_logical_address)iPtr); CStdString strAddr; strAddr.Format("%04x", iPhysicalAddress); cec_menu_language lang;