Preview Window is not working

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message
Offline

stefandiaconu

  • Posts: 2
  • Joined: Wed Sep 18, 2019 8:50 am
  • Real Name: Stefan Diaconu

Preview Window is not working

PostTue Sep 24, 2019 3:53 pm

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.
Offline

Cameron Nichols

Blackmagic Design

  • Posts: 443
  • Joined: Mon Sep 04, 2017 4:05 am

Re: Preview Window is not working

PostThu Oct 03, 2019 3:47 am

Hi Stefan,

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

Regards
Cameron

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 11 guests