From: Lars Op den Kamp Date: Thu, 26 Apr 2012 10:55:32 +0000 (+0200) Subject: cec: clear the unsupported features list in CCECBusDevice::ResetDeviceStatus() X-Git-Tag: upstream/2.2.0~1^2~29^2^2~29 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=c04eaabcca1ce4b633427f6a146e0728c29a4343;p=deb_libcec.git cec: clear the unsupported features list in CCECBusDevice::ResetDeviceStatus() --- diff --git a/src/lib/devices/CECBusDevice.cpp b/src/lib/devices/CECBusDevice.cpp index 3f5185e..d26e694 100644 --- a/src/lib/devices/CECBusDevice.cpp +++ b/src/lib/devices/CECBusDevice.cpp @@ -581,6 +581,7 @@ void CCECBusDevice::ResetDeviceStatus(void) SetOSDName (ToString(m_iLogicalAddress)); SetInactiveSource(); m_iLastActive = 0; + m_unsupportedFeatures.clear(); } void CCECBusDevice::SetDeviceStatus(const cec_bus_device_status newStatus)