mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 12:06:58 +00:00
HDCP disables from config on HDMD4x1. Appears to be working
This commit is contained in:
parent
88e82fb398
commit
ba1e8646e5
2 changed files with 3 additions and 1 deletions
|
|
@ -50,13 +50,15 @@ namespace PepperDash.Essentials.DM.Chassis
|
||||||
foreach (var kvp in props.Inputs)
|
foreach (var kvp in props.Inputs)
|
||||||
{
|
{
|
||||||
// strip "hdmiIn"
|
// strip "hdmiIn"
|
||||||
Debug.Console(0, "**************** {0}", kvp.Key);
|
|
||||||
var inputNum = Convert.ToUInt32(kvp.Key.Substring(6));
|
var inputNum = Convert.ToUInt32(kvp.Key.Substring(6));
|
||||||
|
|
||||||
var port = chassis.HdmiInputs[inputNum].HdmiInputPort;
|
var port = chassis.HdmiInputs[inputNum].HdmiInputPort;
|
||||||
// set hdcp disables
|
// set hdcp disables
|
||||||
if (kvp.Value.DisableHdcp)
|
if (kvp.Value.DisableHdcp)
|
||||||
|
{
|
||||||
|
Debug.Console(0, this, "Configuration disables HDCP support on {0}", kvp.Key);
|
||||||
port.HdcpSupportOff();
|
port.HdcpSupportOff();
|
||||||
|
}
|
||||||
else
|
else
|
||||||
port.HdcpSupportOn();
|
port.HdcpSupportOn();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue