]> git.sesse.net Git - nageru/blobdiff - nageru/decklink_output.h
Move texture uploading out of a lambda.
[nageru] / nageru / decklink_output.h
index 29ea29c177481fbe3d3850de8e6cdbb9b79bb1fb..2c07bc72ccae0c32c8300081d473eebaf6bc7af9 100644 (file)
@@ -17,7 +17,7 @@
 #include "DeckLinkAPITypes.h"
 #include "LinuxCOM.h"
 
-#include "context.h"
+#include "shared/context.h"
 #include "print_latency.h"
 #include "quittable_sleeper.h"
 #include "ref_counted_frame.h"
@@ -141,6 +141,7 @@ private:
        bool last_frame_had_mode_mismatch = false;
 
        movit::ResourcePool *resource_pool;
+       IDeckLinkInput *input = nullptr;
        IDeckLinkOutput *output = nullptr;
        BMDVideoConnection video_connection;
        QSurface *surface;