]> git.sesse.net Git - nageru/blobdiff - nageru/mixer.cpp
Fix DeckLink capture using the 11.7 or newer drivers.
[nageru] / nageru / mixer.cpp
index ce8a73237fd4a838ee85ca0c307663d6e3c9edda..3a137d68a9b0d39b2a52388f699be0b9fa004c4b 100644 (file)
@@ -429,7 +429,7 @@ Mixer::Mixer(const QSurfaceFormat &format)
 
                                DeckLinkCapture *capture = new DeckLinkCapture(decklink, card_index);
                                DeckLinkOutput *output = new DeckLinkOutput(resource_pool.get(), decklink_output_surface, global_flags.width, global_flags.height, card_index);
-                               if (!output->set_device(decklink)) {
+                               if (!output->set_device(decklink, capture->get_input())) {
                                        delete output;
                                        output = nullptr;
                                }