Page 1 of 1

Preview Window is not working

PostPosted: Tue Sep 24, 2019 3:53 pm
by stefandiaconu
Hi guys,
i tried to replicate the CapturePreviewCSharp from BlackMagic SDK but the previewWindow object is not calling the Init3D() method. I put a break point on the line and when I step in, nothing happens. There is no error and the form is not even loading. If I run the sample program, everything works fine, I can go inside the Init3D() and see every step, but not when I try to replicate on a different project.
Any help would be much appreciated.
Thanks.

Re: Preview Window is not working

PostPosted: Thu Oct 03, 2019 3:47 am
by Cameron Nichols
Hi Stefan,

In CapturePreviewCSharp sample, PreviewWindow.InitD3D() is called from CapturePreview constructor. PreviewWindow is a WinForms custom control that also implements IDeckLinkScreenPreviewCallback.

Regards
Cameron