cec: added a hook in libcec for physical address autodetection
[deb_libcec.git] / src / lib / LibCECC.cpp
index 6c8d141c85ba5274ceca6450b52633b6a785a760..fdcc9e7a57bc0dcf4c2f239449272f93e2d47522 100644 (file)
@@ -319,4 +319,9 @@ cec_osd_name cec_get_osd_name(cec_logical_address iAddress)
   return retVal;
 }
 
+int cec_enable_physical_address_detection(void)
+{
+  return cec_parser ? (cec_parser->EnablePhysicalAddressDetection() ? 1 : 0) : -1;
+}
+
 //@}