Permalink
Browse files

[cec] don't update the device type in settings with the value that wa…

…s returned from libCEC
  • Loading branch information...
1 parent 5789a8a commit 5f7ffb2b3fc342ef84871ac63534d41921361474 @opdenkamp opdenkamp committed with davilla Jan 9, 2013
Showing with 0 additions and 1 deletion.
  1. +0 −1 xbmc/peripherals/devices/PeripheralCecAdapter.cpp
@@ -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);

0 comments on commit 5f7ffb2

Please sign in to comment.