mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-15 20:54:55 +00:00
fix: videowall mode raw fb for dm-rmc-4kz-scaler-c
This commit is contained in:
@@ -276,13 +276,26 @@ namespace PepperDash.Essentials.DM
|
|||||||
|
|
||||||
void Scaler_OutputChange(EndpointScalerOutput scalerOutput, ScalerOutputEventArgs args)
|
void Scaler_OutputChange(EndpointScalerOutput scalerOutput, ScalerOutputEventArgs args)
|
||||||
{
|
{
|
||||||
|
if (scalerOutput == null)
|
||||||
|
{
|
||||||
|
Debug.Console(1, this, "Scaler Output object is null");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (args == null)
|
||||||
|
{
|
||||||
|
Debug.Console(1, this, "Scaler Output Args are null");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
Debug.Console(2, this, "Scaler Event ID: {0}", args.EventId);
|
||||||
switch (args.EventId)
|
switch (args.EventId)
|
||||||
{
|
{
|
||||||
case ScalerOutputEventIds.WallModeFeedbackEventId:
|
case ScalerOutputEventIds.WallModeFeedbackEventId:
|
||||||
VideoWallModeRawFeedback.FireUpdate();
|
VideoWallModeRawFeedback.FireUpdate();
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
Debug.Console(2, this, "Scaler Default Unhandled Event ID: {0}", args.EventId);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -177,6 +177,10 @@ namespace PepperDash.Essentials.DM
|
|||||||
trilist.SetUShortSigAction(joinMap.ScalerOutWallMode.JoinNumber, a => dmRmcScalerWithVideowall.SetWallMode(a));
|
trilist.SetUShortSigAction(joinMap.ScalerOutWallMode.JoinNumber, a => dmRmcScalerWithVideowall.SetWallMode(a));
|
||||||
trilist.SetUShortSigAction(joinMap.ScalerOutWallModeRaw.JoinNumber, a => dmRmcScalerWithVideowall.SetWallModeRaw(a));
|
trilist.SetUShortSigAction(joinMap.ScalerOutWallModeRaw.JoinNumber, a => dmRmcScalerWithVideowall.SetWallModeRaw(a));
|
||||||
|
|
||||||
|
if (rmc.VideoWallModeFeedback != null)
|
||||||
|
rmc.VideoWallModeFeedback.LinkInputSig(trilist.UShortInput[joinMap.ScalerOutWallMode.JoinNumber]);
|
||||||
|
if (rmc.VideoWallModeRawFeedback != null)
|
||||||
|
rmc.VideoWallModeRawFeedback.LinkInputSig(trilist.UShortInput[joinMap.ScalerOutWallModeRaw.JoinNumber]);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user