repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added handler for philips. ignore repeating 'display information' keypresses from...
[deb_libcec.git]
/
src
/
lib
/
devices
/
CECTuner.cpp
diff --git
a/src/lib/devices/CECTuner.cpp
b/src/lib/devices/CECTuner.cpp
index b5de867d9e8a968fe4aeb644ce572ac5ca2330c5..2de4a1fb185e21292e3599043c1ff54c3926f935 100644
(file)
--- a/
src/lib/devices/CECTuner.cpp
+++ b/
src/lib/devices/CECTuner.cpp
@@
-30,12
+30,20
@@
* http://www.pulse-eight.net/
*/
* http://www.pulse-eight.net/
*/
+#include "env.h"
#include "CECTuner.h"
using namespace CEC;
#include "CECTuner.h"
using namespace CEC;
+using namespace PLATFORM;
-CCECTuner::CCECTuner(CCECProcessor *processor, cec_logical_address address, uint16_t iPhysicalAddress /* =
0
*/) :
+CCECTuner::CCECTuner(CCECProcessor *processor, cec_logical_address address, uint16_t iPhysicalAddress /* =
CEC_INVALID_PHYSICAL_ADDRESS
*/) :
CCECBusDevice(processor, address, iPhysicalAddress)
{
CCECBusDevice(processor, address, iPhysicalAddress)
{
- m_type = CEC_DEVICE_TYPE_TUNER;
+ m_type = CEC_DEVICE_TYPE_TUNER;
+}
+
+void CCECTuner::ResetDeviceStatus(void)
+{
+ CLockObject lock(m_mutex);
+ CCECBusDevice::ResetDeviceStatus();
}
}