]> git.sesse.net Git - nageru/blobdiff - nageru/decklink_output.cpp
Fix a typo (hopefully).
[nageru] / 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;