[cec] don't update the device type in settings with the value that was returned from...
authorLars Op den Kamp <lars@opdenkamp.eu>
Wed, 9 Jan 2013 01:21:27 +0000 (02:21 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Wed, 9 Jan 2013 01:21:27 +0000 (02:21 +0100)
xbmc/peripherals/devices/PeripheralCecAdapter.cpp

index b3ac396..da1b28f 100644 (file)
@@ -1273,7 +1273,6 @@ void CPeripheralCecAdapter::SetConfigurationFromLibCEC(const CEC::libcec_configu
   // set the primary device type
   m_configuration.deviceTypes.Clear();
   m_configuration.deviceTypes.Add(config.deviceTypes[0]);
-  bChanged |= SetSetting("device_type", (int)config.deviceTypes[0]);
 
   // hide the "connected device" and "hdmi port number" settings when the PA was autodetected
   bool bPAAutoDetected(config.bAutodetectAddress == 1);