]> git.sesse.net Git - nageru/commitdiff
Fix a typo (hopefully).
authorSteinar H. Gunderson <steinar+nageru@gunderson.no>
Sat, 2 Oct 2021 14:06:28 +0000 (16:06 +0200)
committerSteinar H. Gunderson <steinar+nageru@gunderson.no>
Sat, 2 Oct 2021 14:06:28 +0000 (16:06 +0200)
nageru/decklink_output.cpp

index 20de9229fdc35e42502626c40b571f5741150f4c..fc8de57db9172f3071f140017102e30ea3f2df0f 100644 (file)
@@ -84,7 +84,7 @@ DeckLinkOutput::DeckLinkOutput(ResourcePool *resource_pool, QSurface *surface, u
 
 bool DeckLinkOutput::set_device(IDeckLink *decklink, IDeckLinkInput *input_arg)
 {
-       input_arg = input;
+       input = input_arg;
        if (decklink->QueryInterface(IID_IDeckLinkOutput, (void**)&output) != S_OK) {
                fprintf(stderr, "Warning: Card %u has no outputs\n", card_index);
                return false;