DisableVideoOutput freeze.

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

Moro Alexandre

  • Posts: 1
  • Joined: Tue Jun 09, 2015 7:23 am

DisableVideoOutput freeze.

PostTue Jun 09, 2015 7:35 am

Hello Decklink developpers !

I'm confronted to a freeze problem when i stop to play out my stream.

I use decklink hd extreme+ to playout graphics with keying, it works well using 10.4 SDK and drivers, but :

My workflow :
1) Iterate to find my device, then the display mode.
2) EnableVideoOutput with display mode.
3) Create and link the SetScheduledFrameCompletionCallback.
4) CreateVideoFrame and QueryKeyer
5) Preroll FPS/3 frames.
6) StartScheduledPlayback

Now my frames and sent through the Callback.
But when i stop output i call :

1) StopScheduledPlayback(0, NULL, 0);
2) DisableVideoOutput();

But the DisableVideoOutput freeze but not always !!!

Do i miss something ?


Nicholas Gill

Blackmagic Design

  • Posts: 169
  • Joined: Mon May 04, 2015 10:28 pm

Re: DisableVideoOutput freeze.

PostTue Jun 16, 2015 4:31 am

Hi Moro,

Could you please describe the context in which DisableVideoOutput is called?

While disabling video output the user callbacks (e.g. IDeckLinkVideoOutputCallback::ScheduledFrameCompleted) may be called - it is not safe to call DisableVideoOutput from these callbacks.



Return to Software Developers

Who is online

Users browsing this forum: No registered users and 1 guest