Page 1 of 1

IDeckLinkOutput Playback order

PostPosted: Sun Mar 12, 2017 10:59 am
by Gabriel Solsona
Hi admins and community,

The question I would like to raise is if it is possible to assign callbacks (Video and occasionally Audio callbacks) before calling ::EnableVideoOutput and ::EnableAudioOutput.

To be more concise, the SDK manual instructs the following order:
Code: Select all
    IDeckLinkOutput::EnableVideoOutput
    IDeckLinkOutput::EnableAudioOutput
    IDeckLinkOutput::SetScheduledFrameCompletionCallback
    IDeckLinkOutput::SetAudioCallback

But I would need this order:
Code: Select all
    IDeckLinkOutput::SetScheduledFrameCompletionCallback
    IDeckLinkOutput::SetAudioCallback
    IDeckLinkOutput::EnableVideoOutput
    IDeckLinkOutput::EnableAudioOutput

Thank you in advance,

Gabriel Solsona
Madrid

Re: IDeckLinkOutput Playback order

PostPosted: Thu Mar 30, 2017 1:13 am
by Waqqas Sharif
Hello Gabriel,

I can confirm that it is possible to assign video and audio callbacks before calling IDeckLinkOutput::EnableVideoOutput and IDeckLinkOutput::EnableAudioOutput methods.

Regards
Waqqas

Re: IDeckLinkOutput Playback order

PostPosted: Fri Apr 14, 2017 10:41 am
by Gabriel Solsona
Thank you, Waqqas,

</Gabriel>