repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into release
[deb_libcec.git]
/
src
/
lib
/
implementations
/
RLCommandHandler.cpp
diff --git
a/src/lib/implementations/RLCommandHandler.cpp
b/src/lib/implementations/RLCommandHandler.cpp
index 5653137616d304b11bcb0949fdc69b05cf0c5966..6956a218ab8c4156518fe2db584ad2f2894d16c2 100644
(file)
--- a/
src/lib/implementations/RLCommandHandler.cpp
+++ b/
src/lib/implementations/RLCommandHandler.cpp
@@
-30,10
+30,13
@@
* http://www.pulse-eight.net/
*/
* http://www.pulse-eight.net/
*/
+#include "env.h"
#include "RLCommandHandler.h"
#include "RLCommandHandler.h"
-#include "../devices/CECBusDevice.h"
-#include "../CECProcessor.h"
-#include "../LibCEC.h"
+
+#include "lib/platform/util/timeutils.h"
+#include "lib/devices/CECBusDevice.h"
+#include "lib/CECProcessor.h"
+#include "lib/LibCEC.h"
using namespace CEC;
using namespace PLATFORM;
using namespace CEC;
using namespace PLATFORM;
@@
-54,6
+57,9
@@
bool CRLCommandHandler::InitHandler(void)
return true;
m_bHandlerInited = true;
return true;
m_bHandlerInited = true;
+ if (m_busDevice->GetLogicalAddress() != CECDEVICE_TV)
+ return true;
+
CCECBusDevice *primary = m_processor->GetPrimaryDevice();
if (primary && primary->GetLogicalAddress() != CECDEVICE_UNREGISTERED)
{
CCECBusDevice *primary = m_processor->GetPrimaryDevice();
if (primary && primary->GetLogicalAddress() != CECDEVICE_UNREGISTERED)
{
@@
-67,7
+73,7
@@
bool CRLCommandHandler::InitHandler(void)
if (m_busDevice->GetLogicalAddress() == CECDEVICE_TV)
{
/* send the vendor id */
if (m_busDevice->GetLogicalAddress() == CECDEVICE_TV)
{
/* send the vendor id */
- primary->TransmitVendorID(CECDEVICE_BROADCAST);
+ primary->TransmitVendorID(CECDEVICE_BROADCAST
, false, false
);
}
}
}
}