mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-17 13:45:01 +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)
|
||||
{
|
||||
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)
|
||||
{
|
||||
case ScalerOutputEventIds.WallModeFeedbackEventId:
|
||||
VideoWallModeRawFeedback.FireUpdate();
|
||||
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.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