cec: bump version numbers to 1.5, to prepare for the new release
[deb_libcec.git] / src / lib / LibCECC.cpp
index b87e06c611f28946a58331a26d9d73e6e25e0d6b..29b08fd98ce429570f57c3e75b69ca69c3c36763 100644 (file)
@@ -416,4 +416,9 @@ void cec_rescan_devices(void)
     cec_parser->RescanActiveDevices();
 }
 
+int cec_is_libcec_active_source(void)
+{
+  return cec_parser ? (cec_parser->IsLibCECActiveSource() ? 1 : 0) : -1;
+}
+
 //@}