repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed: mac configure compile bugzid: 157
[deb_libcec.git]
/
src
/
lib
/
LibCECC.cpp
diff --git
a/src/lib/LibCECC.cpp
b/src/lib/LibCECC.cpp
index b87e06c611f28946a58331a26d9d73e6e25e0d6b..29b08fd98ce429570f57c3e75b69ca69c3c36763 100644
(file)
--- a/
src/lib/LibCECC.cpp
+++ b/
src/lib/LibCECC.cpp
@@
-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;
+}
+
//@}