cec: specify the device on which the HDMI port will be selected in SetHDMIPort()
[deb_libcec.git] / src / lib / LibCECC.cpp
index e71cd11a1ad5d008976627fb4db64d24b4ed6743..6c8d141c85ba5274ceca6450b52633b6a785a760 100644 (file)
@@ -265,10 +265,10 @@ int cec_is_active_device_type(cec_device_type type)
   return -1;
 }
 
-int cec_set_hdmi_port(uint8_t iPort)
+int cec_set_hdmi_port(cec_logical_address iBaseDevice, uint8_t iPort)
 {
   if (cec_parser)
-    return cec_parser->SetHDMIPort(iPort) ? 1 : 0;
+    return cec_parser->SetHDMIPort(iBaseDevice, iPort) ? 1 : 0;
   return -1;
 }