X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=nageru%2Fdecklink_output.h;h=8213f498a9d0677df7fe77b928acc7dce8951825;hb=ccc2b89c9cf879ccbd948e169a029917cc16f0ee;hp=f1b40f468abdd703eb8df9c1e0410d3a78696d29;hpb=0f5b8fd8420a450f5994d5f535fdce84dbb10093;p=nageru diff --git a/nageru/decklink_output.h b/nageru/decklink_output.h index f1b40f4..8213f49 100644 --- a/nageru/decklink_output.h +++ b/nageru/decklink_output.h @@ -39,7 +39,11 @@ class DeckLinkOutput : public IDeckLinkVideoOutputCallback { public: DeckLinkOutput(movit::ResourcePool *resource_pool, QSurface *surface, unsigned width, unsigned height, unsigned card_index); - bool set_device(IDeckLink *output); + // The IDecklinkInput argument is to work around a bug + // in the 11.7 and newer drivers against older SDKs, + // where you get a freeze if querying an IDeckLinkInput interface + // on an already-started card. + bool set_device(IDeckLink *decklink, IDeckLinkInput *input_arg); void start_output(uint32_t mode, int64_t base_pts); // Mode comes from get_available_video_modes(). void end_output();