repositories
/
deb_libcec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
daec032
)
prevent sending directly addressed commands from being sent to broadcast
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Wed, 3 Oct 2012 14:28:09 +0000
(16:28 +0200)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Wed, 3 Oct 2012 14:28:09 +0000
(16:28 +0200)
src/lib/devices/CECBusDevice.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/lib/devices/CECBusDevice.cpp
b/src/lib/devices/CECBusDevice.cpp
index 2998a622021786c7e3e9ba162870f1b92aa45373..ba34261a1c1d1590249172ffce8f09c145c87394 100644
(file)
--- a/
src/lib/devices/CECBusDevice.cpp
+++ b/
src/lib/devices/CECBusDevice.cpp
@@
-736,6
+736,9
@@
bool CCECBusDevice::TransmitVendorID(const cec_logical_address destination, bool
cec_bus_device_status CCECBusDevice::GetStatus(bool bForcePoll /* = false */, bool bSuppressPoll /* = false */)
{
+ if (m_iLogicalAddress == CECDEVICE_BROADCAST)
+ return CEC_DEVICE_STATUS_NOT_PRESENT;
+
cec_bus_device_status status(CEC_DEVICE_STATUS_UNKNOWN);
bool bNeedsPoll(false);