fix: videowall mode raw fb for dm-rmc-4kz-scaler-c

This commit is contained in:
Colin Denig
2024-07-11 15:42:25 -04:00
parent 192991cc65
commit 0eb2436fa0
2 changed files with 47 additions and 30 deletions

View File

@@ -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;
}
}
}