Skip to content

Commit

Permalink
missed one hunk of the libcec 2 patch in ea74b8d
Browse files Browse the repository at this point in the history
Refs #11338
  • Loading branch information
dekarl committed Feb 11, 2015
1 parent 0e5961e commit ff2cd53
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions mythtv/libs/libmythui/cecadapter.cpp
Expand Up @@ -93,9 +93,10 @@ class CECAdapterPriv

if ("auto" != base_dev)
{
defaultHDMIPort = hdmi_port.toInt();
if (defaultHDMIPort < 1 || defaultHDMIPort > 4)
defaultHDMIPort = 1;
int base = base_dev.toInt();
if (base >= 0 && base < CECDEVICE_BROADCAST) {
configuration.baseDevice = (cec_logical_address)base;
}
}
if ("auto" != hdmi_port)
{
Expand Down

0 comments on commit ff2cd53

Please sign in to comment.