repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cec: bump version to 1.6.3. check the client version, not the server version in libce...
[deb_libcec.git]
/
src
/
lib
/
devices
/
CECTuner.cpp
diff --git
a/src/lib/devices/CECTuner.cpp
b/src/lib/devices/CECTuner.cpp
index 55d7bb51ad220ad63cb0388dcd44fa12e86da7cb..4721c1a5a35010be3396a04c573960e37a605694 100644
(file)
--- a/
src/lib/devices/CECTuner.cpp
+++ b/
src/lib/devices/CECTuner.cpp
@@
-1,7
+1,7
@@
/*
* This file is part of the libCEC(R) library.
*
/*
* This file is part of the libCEC(R) library.
*
- * libCEC(R) is Copyright (C) 2011 Pulse-Eight Limited. All rights reserved.
+ * libCEC(R) is Copyright (C) 2011
-2012
Pulse-Eight Limited. All rights reserved.
* libCEC(R) is an original work, containing original code.
*
* libCEC(R) is a trademark of Pulse-Eight Limited.
* libCEC(R) is an original work, containing original code.
*
* libCEC(R) is a trademark of Pulse-Eight Limited.
@@
-33,10
+33,16
@@
#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_strDeviceName = "Tuner";
+ m_type = CEC_DEVICE_TYPE_TUNER;
+}
+
+void CCECTuner::ResetDeviceStatus(void)
+{
+ CLockObject lock(m_mutex);
+ CCECBusDevice::ResetDeviceStatus();
}
}