Permalink
Browse files

MP1-4781V8 : madVR V331 (Fix video dimension send for atmolight to ha…

…ve the blackbar detection correctly working)
  • Loading branch information...
Sebastiii committed Oct 1, 2017
1 parent 691cc48 commit 6cabf7a52e1a860a7c3451307a3b714fe9587f88
Showing with 2 additions and 1 deletion.
  1. +2 −1 mediaportal/Core/Player/PlaneScene.cs
@@ -695,14 +695,15 @@ public void RenderFrame(Int16 width, Int16 height, Int16 arWidth, Int16 arHeight
{
IntPtr ptrMadVr = pSurface;
Surface surfaceMadVr = new Surface(ptrMadVr);
Size client = GUIGraphicsContext.form.ClientSize;
try
{
unsafe
{
lock (GUIGraphicsContext.RenderModeSwitch)
{
if (grabber != null)
grabber.OnFrame(width, height, arWidth, arHeight, (uint)surfaceMadVr.UnmanagedComPointer,
grabber.OnFrame((short)client.Width, (short)client.Height, (short)client.Width, (short)client.Height, (uint)surfaceMadVr.UnmanagedComPointer,
FrameGrabber.FrameSource.Video);
}
}

0 comments on commit 6cabf7a

Please sign in to comment.